Fix initfs target
This commit is contained in:
parent
b734a16e0e
commit
5175b39656
20
mk/initfs.mk
20
mk/initfs.mk
|
@ -1,14 +1,12 @@
|
||||||
initfs: \
|
$(BUILD)/initfs.rs: \
|
||||||
initfs/bin/init \
|
initfs/bin/init \
|
||||||
initfs/bin/ahcid \
|
initfs/bin/ahcid \
|
||||||
initfs/bin/bgad \
|
initfs/bin/bgad \
|
||||||
initfs/bin/pcid \
|
initfs/bin/pcid \
|
||||||
initfs/bin/ps2d \
|
initfs/bin/ps2d \
|
||||||
initfs/bin/redoxfs \
|
initfs/bin/redoxfs \
|
||||||
initfs/bin/vesad \
|
initfs/bin/vesad \
|
||||||
initfs/etc/**
|
initfs/etc/**
|
||||||
|
|
||||||
$(BUILD)/initfs.rs: initfs
|
|
||||||
echo 'use collections::BTreeMap;' > $@
|
echo 'use collections::BTreeMap;' > $@
|
||||||
echo 'pub fn gen() -> BTreeMap<&'"'"'static [u8], (&'"'"'static [u8], bool)> {' >> $@
|
echo 'pub fn gen() -> BTreeMap<&'"'"'static [u8], (&'"'"'static [u8], bool)> {' >> $@
|
||||||
echo ' let mut files: BTreeMap<&'"'"'static [u8], (&'"'"'static [u8], bool)> = BTreeMap::new();' >> $@
|
echo ' let mut files: BTreeMap<&'"'"'static [u8], (&'"'"'static [u8], bool)> = BTreeMap::new();' >> $@
|
||||||
|
|
Loading…
Reference in a new issue