Specify prefix as a dependency

This commit is contained in:
Jeremy Soller 2018-08-17 18:47:48 -06:00
commit 233295bc17

View file

@ -1,13 +1,15 @@
build/initfs.tag: initfs.toml
build/initfs.tag: initfs.toml prefix
cd kernel && xargo clean
rm -rf build/initfs
mkdir -p build/initfs
export PATH="$(PREFIX_PATH):$$PATH" && \
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/initfs/
touch $@
build/initfs_live.tag: initfs_live.toml
build/initfs_live.tag: initfs_live.toml prefix
cd kernel && xargo clean
rm -rf build/initfs_live
mkdir -p build/initfs_live
export PATH="$(PREFIX_PATH):$$PATH" && \
cargo run --manifest-path installer/Cargo.toml -- $(INSTALLER_FLAGS) -c $< build/initfs_live/
touch $@