From 34d9d49ae617b40e5455daa30098134628e020e2 Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Mon, 11 Apr 2022 22:54:05 +0200 Subject: [PATCH] Make prefix before other dependencies. --- mk/filesystem.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/filesystem.mk b/mk/filesystem.mk index d2d2667..1af4a93 100644 --- a/mk/filesystem.mk +++ b/mk/filesystem.mk @@ -1,4 +1,4 @@ -build/filesystem.bin: filesystem.toml build/bootloader.bin build/kernel prefix build/initfs.img +build/filesystem.bin: prefix filesystem.toml build/bootloader.bin build/kernel build/initfs.img cargo build --manifest-path cookbook/Cargo.toml --release cargo build --manifest-path installer/Cargo.toml --release cargo build --manifest-path redoxfs/Cargo.toml --release @@ -13,14 +13,14 @@ build/filesystem.bin: filesystem.toml build/bootloader.bin build/kernel prefix b redoxfs/target/release/redoxfs $@.partial build/filesystem/ sleep 2 pgrep redoxfs - cp -v $< build/filesystem/filesystem.toml + cp -v filesystem.toml build/filesystem/filesystem.toml cp -v build/bootloader.bin build/filesystem/bootloader cp -v build/kernel build/filesystem/kernel mkdir -v build/filesystem/pkg cp -v cookbook/build/id_ed25519.pub.toml build/filesystem/pkg/id_ed25519.pub.toml #TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include #TODO cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib - $(INSTALLER) -c $< build/filesystem/ + $(INSTALLER) -c filesystem.toml build/filesystem/ cp build/initfs.img build/filesystem/initfs sync -$(FUMOUNT) build/filesystem/ || true