mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
fa37e32ed9
now uses jinx to build a cross toolchain, mlibc, bash and the kernel. also made scheduler temporarily run /usr/bin/bash instead of /sbin/init
25 lines
410 B
Plaintext
25 lines
410 B
Plaintext
name=gcc-cross
|
|
revision=1
|
|
from_source=gcc-cross
|
|
imagedeps="base-devel"
|
|
hostdeps="automake autoconf binutils-cross"
|
|
deps="mlibc-headers"
|
|
|
|
configure() {
|
|
|
|
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --enable-languages=c,c++
|
|
|
|
}
|
|
|
|
build() {
|
|
|
|
make all-gcc all-target-libgcc -j7
|
|
|
|
}
|
|
|
|
install(){
|
|
|
|
make DESTDIR="${dest_dir}" install-gcc install-target-libgcc
|
|
|
|
}
|