Use HOST_CARGO variable for compiling binaries on the host
This commit is contained in:
parent
26bf3005f8
commit
85d75b7681
1 changed files with 9 additions and 8 deletions
|
|
@ -3,8 +3,8 @@ INITFS_RM_BINS=\
|
|||
redoxfs-mkfs
|
||||
|
||||
build/initfs.img: initfs.toml prefix
|
||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||
cargo build --manifest-path installer/Cargo.toml --release
|
||||
$(HOST_CARGO) build --manifest-path cookbook/Cargo.toml --release
|
||||
$(HOST_CARGO) build --manifest-path installer/Cargo.toml --release
|
||||
rm -rf build/initfs
|
||||
mkdir -p build/initfs
|
||||
$(INSTALLER) -c $< build/initfs/
|
||||
|
|
|
|||
Loading…
Reference in a new issue