Modularise makefiles
This commit is contained in:
parent
b7a19200a8
commit
e3f3f27fbc
1 changed files with 525 additions and 526 deletions
7
mk/userspace/pkgutils.mk
Normal file
7
mk/userspace/pkgutils.mk
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
pkgutils: \
|
||||
filesystem/bin/pkg
|
||||
|
||||
filesystem/bin/%: programs/pkgutils/Cargo.toml programs/pkgutils/src/%/**.rs $(BUILD)/libstd.rlib
|
||||
mkdir -p filesystem/bin
|
||||
$(CARGO) rustc --manifest-path $< --bin $* $(CARGOFLAGS) -o $@
|
||||
$(STRIP) $@
|
||||
Loading…
Reference in a new issue