mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: binutils
This commit is contained in:
@@ -30,7 +30,7 @@ full:
|
|||||||
cd sysroot; tar -cf $(INITRD) *
|
cd sysroot; tar -cf $(INITRD) *
|
||||||
|
|
||||||
minimal:
|
minimal:
|
||||||
./jinx install minimalsysroot mlibc
|
./jinx install minimalsysroot mlibc bash coreutils
|
||||||
cd minimalsysroot; tar -cf $(INITRD) *
|
cd minimalsysroot; tar -cf $(INITRD) *
|
||||||
|
|
||||||
kernel:
|
kernel:
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
name=binutils
|
||||||
|
revision=1
|
||||||
|
from_source=binutils
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils automake autoconf"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --disable-werror
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user