initfs.mk 716 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1
build/initfs.tag: initfs.toml prefix
Jeremy Soller's avatar
Jeremy Soller committed
2
	cargo build --manifest-path installer/Cargo.toml --release
3
	rm -f build/libkernel.a
Jeremy Soller's avatar
Jeremy Soller committed
4
	rm -rf build/initfs
Jeremy Soller's avatar
Jeremy Soller committed
5
	mkdir -p build/initfs
Jeremy Soller's avatar
Jeremy Soller committed
6
	$(INSTALLER) -c $< build/initfs/
7
	touch $@
8

9
build/initfs_coreboot.tag: initfs_coreboot.toml prefix
Jeremy Soller's avatar
Jeremy Soller committed
10
	cargo build --manifest-path installer/Cargo.toml --release
11 12 13
	rm -f build/libkernel_coreboot.a
	rm -rf build/initfs_coreboot
	mkdir -p build/initfs_coreboot
Jeremy Soller's avatar
Jeremy Soller committed
14
	$(INSTALLER) -c $< build/initfs_coreboot/
15 16
	touch $@

Jeremy Soller's avatar
Jeremy Soller committed
17
build/initfs_live.tag: initfs_live.toml prefix
Jeremy Soller's avatar
Jeremy Soller committed
18
	cargo build --manifest-path installer/Cargo.toml --release
19
	rm -f build/libkernel_live.a
20 21
	rm -rf build/initfs_live
	mkdir -p build/initfs_live
Jeremy Soller's avatar
Jeremy Soller committed
22
	$(INSTALLER) -c $< build/initfs_live/
23
	touch $@