Compile more things with LTO
This commit is contained in:
parent
7410534ac8
commit
986aad930f
|
@ -101,7 +101,9 @@ orbdata = {}
|
||||||
orbital = {}
|
orbital = {}
|
||||||
orbterm = {}
|
orbterm = {}
|
||||||
#orbutils = {}
|
#orbutils = {}
|
||||||
orbutils-minimal = {}
|
orbutils-background = {}
|
||||||
|
orbutils-launcher = {}
|
||||||
|
orbutils-orblogin = {}
|
||||||
#osdemo = {}
|
#osdemo = {}
|
||||||
#pastel = {}
|
#pastel = {}
|
||||||
#patch = {}
|
#patch = {}
|
||||||
|
|
2
cookbook
2
cookbook
|
@ -1 +1 @@
|
||||||
Subproject commit d42cda72d43bb6679f542d642eb5109b7e7f0585
|
Subproject commit 35439d927d9d641263e85c90e7588165228c311f
|
|
@ -2,19 +2,19 @@ build/libkernel.a: kernel/Cargo.lock kernel/Cargo.toml kernel/src/* kernel/src/*
|
||||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||||
export INITFS_FOLDER=$(ROOT)/build/initfs && \
|
export INITFS_FOLDER=$(ROOT)/build/initfs && \
|
||||||
cd kernel && \
|
cd kernel && \
|
||||||
xargo rustc --lib --target $(KTARGET) --release -- -C soft-float -C debuginfo=2 --emit link=../$@
|
xargo rustc --lib --target $(KTARGET) --release -- -C soft-float -C debuginfo=2 -C lto --emit link=../$@
|
||||||
|
|
||||||
build/libkernel_coreboot.a: kernel/Cargo.toml kernel/src/* kernel/src/*/* kernel/src/*/*/* kernel/src/*/*/*/* build/initfs_coreboot.tag
|
build/libkernel_coreboot.a: kernel/Cargo.toml kernel/src/* kernel/src/*/* kernel/src/*/*/* kernel/src/*/*/*/* build/initfs_coreboot.tag
|
||||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||||
export INITFS_FOLDER=$(ROOT)/build/initfs_coreboot && \
|
export INITFS_FOLDER=$(ROOT)/build/initfs_coreboot && \
|
||||||
cd kernel && \
|
cd kernel && \
|
||||||
xargo rustc --lib --target $(KTARGET) --release --features live -- -C soft-float -C debuginfo=2 --emit link=../$@
|
xargo rustc --lib --target $(KTARGET) --release --features live -- -C soft-float -C debuginfo=2 -C lto --emit link=../$@
|
||||||
|
|
||||||
build/libkernel_live.a: kernel/Cargo.toml kernel/src/* kernel/src/*/* kernel/src/*/*/* kernel/src/*/*/*/* build/initfs_live.tag
|
build/libkernel_live.a: kernel/Cargo.toml kernel/src/* kernel/src/*/* kernel/src/*/*/* kernel/src/*/*/*/* build/initfs_live.tag
|
||||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||||
export INITFS_FOLDER=$(ROOT)/build/initfs_live && \
|
export INITFS_FOLDER=$(ROOT)/build/initfs_live && \
|
||||||
cd kernel && \
|
cd kernel && \
|
||||||
xargo rustc --lib --target $(KTARGET) --release --features live -- -C soft-float -C debuginfo=2 --emit link=../$@
|
xargo rustc --lib --target $(KTARGET) --release --features live -- -C soft-float -C debuginfo=2 -C lto --emit link=../$@
|
||||||
|
|
||||||
build/kernel: kernel/linkers/$(ARCH).ld build/libkernel.a
|
build/kernel: kernel/linkers/$(ARCH).ld build/libkernel.a
|
||||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||||
|
|
Loading…
Reference in a new issue