Modularise makefiles
This commit is contained in:
parent
b7a19200a8
commit
e3f3f27fbc
1 changed files with 525 additions and 526 deletions
11
mk/userspace/ion.mk
Normal file
11
mk/userspace/ion.mk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
ion: \
|
||||
filesystem/bin/ion \
|
||||
filesystem/bin/sh
|
||||
|
||||
filesystem/test/ion: programs/ion/Cargo.toml programs/ion/src/** $(BUILD)/libstd.rlib $(BUILD)/libtest.rlib
|
||||
mkdir -p filesystem/test
|
||||
$(CARGO) test --no-run --manifest-path $< $(CARGOFLAGS)
|
||||
cp programs/ion/target/$(TARGET)/release/deps/ion-* $@
|
||||
|
||||
filesystem/bin/sh: filesystem/bin/ion
|
||||
cp $< $@
|
||||
Loading…
Reference in a new issue