Initfs makefile
This commit is contained in:
14
tools/Makefile
Normal file
14
tools/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
.PHONY: all
|
||||
all: bin/redox-initfs-ar bin/redox-initfs-dump
|
||||
|
||||
bin/redox-initfs-ar: $(shell find ./initfs -type f -not -path "*/target/*")
|
||||
@mkdir -p bin
|
||||
cd initfs/tools && \
|
||||
cargo build --release --bin redox-initfs-ar
|
||||
cp initfs/target/release/redox-initfs-ar $@
|
||||
|
||||
bin/redox-initfs-dump: $(shell find ./initfs -type f -not -path "*/target/*")
|
||||
@mkdir -p bin
|
||||
cd initfs/tools && \
|
||||
cargo build --release --bin redox-initfs-dump
|
||||
cp initfs/target/release/redox-initfs-dump $@
|
Reference in New Issue
Block a user