Convert to cookbook based build
This commit is contained in:
parent
9034701e8f
commit
c9950beec2
1 changed files with 246 additions and 6591 deletions
20
mk/initfs.mk
20
mk/initfs.mk
|
|
@ -1,17 +1,3 @@
|
|||
$(KBUILD)/initfs.tag: initfs/bin/init \
|
||||
initfs/bin/ahcid \
|
||||
initfs/bin/bgad \
|
||||
initfs/bin/nvmed \
|
||||
initfs/bin/pcid \
|
||||
initfs/bin/ps2d \
|
||||
initfs/bin/redoxfs \
|
||||
initfs/bin/vboxd \
|
||||
initfs/bin/vesad \
|
||||
initfs/etc/**
|
||||
$(KCARGO) clean --manifest-path kernel/Cargo.toml
|
||||
touch $@
|
||||
|
||||
initfs/bin/%: programs/%/Cargo.toml programs/%/src/** $(BUILD)/libstd.rlib
|
||||
mkdir -p initfs/bin
|
||||
$(CARGO) rustc --manifest-path $< $(CARGOFLAGS) -o $@
|
||||
$(STRIP) $@
|
||||
build/initfs.tag: initfs.toml
|
||||
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook $<
|
||||
touch $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue