Add support for building as a coreboot payload
This commit is contained in:
parent
f482e41008
commit
0c56ae16e8
1 changed files with 363 additions and 0 deletions
|
|
@ -6,6 +6,14 @@ build/initfs.tag: initfs.toml prefix
|
|||
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/initfs/
|
||||
touch $@
|
||||
|
||||
build/initfs_coreboot.tag: initfs_coreboot.toml prefix
|
||||
rm -f build/libkernel_coreboot.a
|
||||
rm -rf build/initfs_coreboot
|
||||
mkdir -p build/initfs_coreboot
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/initfs_coreboot/
|
||||
touch $@
|
||||
|
||||
build/initfs_live.tag: initfs_live.toml prefix
|
||||
rm -f build/libkernel_live.a
|
||||
rm -rf build/initfs_live
|
||||
|
|
|
|||
Loading…
Reference in a new issue