initfs.mk 442 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
$(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 $@
Jeremy Soller's avatar
Jeremy Soller committed
13 14 15 16 17

initfs/bin/%: programs/%/Cargo.toml programs/%/src/** $(BUILD)/libstd.rlib
	mkdir -p initfs/bin
	$(CARGO) rustc --manifest-path $< $(CARGOFLAGS) -o $@
	$(STRIP) $@