Initfs makefile

This commit is contained in:
2024-12-15 21:27:29 -08:00
parent b156510422
commit 0f42691db8
7 changed files with 34 additions and 10 deletions

1
tools/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
bin

14
tools/Makefile Normal file
View 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 $@

1
tools/initfs Submodule

Submodule tools/initfs added at d0802237d7