Add redoxfs
This commit is contained in:
parent
b527fc3c99
commit
cde825bed9
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -16,3 +16,6 @@
|
||||||
[submodule "programs/coreutils"]
|
[submodule "programs/coreutils"]
|
||||||
path = programs/coreutils
|
path = programs/coreutils
|
||||||
url = https://github.com/redox-os/coreutils.git
|
url = https://github.com/redox-os/coreutils.git
|
||||||
|
[submodule "schemes/redoxfs"]
|
||||||
|
path = schemes/redoxfs
|
||||||
|
url = https://github.com/redox-os/redoxfs
|
||||||
|
|
19
Makefile
19
Makefile
|
@ -155,10 +155,16 @@ initfs/bin/%: programs/coreutils/Cargo.toml programs/coreutils/src/bin/%.rs $(BU
|
||||||
|
|
||||||
initfs/bin/%: schemes/%/Cargo.toml schemes/%/src/** $(BUILD)/libstd.rlib
|
initfs/bin/%: schemes/%/Cargo.toml schemes/%/src/** $(BUILD)/libstd.rlib
|
||||||
mkdir -p initfs/bin
|
mkdir -p initfs/bin
|
||||||
$(CARGO) rustc --manifest-path $< $(CARGOFLAGS) -o $@
|
$(CARGO) rustc --manifest-path $< --bin $* $(CARGOFLAGS) -o $@
|
||||||
strip $@
|
strip $@
|
||||||
rm $@.d
|
rm $@.d
|
||||||
|
|
||||||
|
drivers: \
|
||||||
|
initfs/bin/ahcid \
|
||||||
|
initfs/bin/pcid \
|
||||||
|
initfs/bin/ps2d \
|
||||||
|
initfs/bin/vesad
|
||||||
|
|
||||||
coreutils: \
|
coreutils: \
|
||||||
initfs/bin/cat \
|
initfs/bin/cat \
|
||||||
initfs/bin/echo \
|
initfs/bin/echo \
|
||||||
|
@ -168,16 +174,17 @@ coreutils: \
|
||||||
initfs/bin/pwd \
|
initfs/bin/pwd \
|
||||||
initfs/bin/realpath
|
initfs/bin/realpath
|
||||||
|
|
||||||
|
schemes: \
|
||||||
|
initfs/bin/example \
|
||||||
|
initfs/bin/redoxfs
|
||||||
|
|
||||||
$(BUILD)/initfs.rs: \
|
$(BUILD)/initfs.rs: \
|
||||||
initfs/bin/ahcid \
|
|
||||||
initfs/bin/pcid \
|
|
||||||
initfs/bin/ps2d \
|
|
||||||
initfs/bin/vesad \
|
|
||||||
initfs/bin/init \
|
initfs/bin/init \
|
||||||
initfs/bin/ion \
|
initfs/bin/ion \
|
||||||
initfs/bin/login \
|
initfs/bin/login \
|
||||||
|
drivers \
|
||||||
coreutils \
|
coreutils \
|
||||||
initfs/bin/example
|
schemes
|
||||||
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();' >> $@
|
||||||
|
|
1
schemes/redoxfs
Submodule
1
schemes/redoxfs
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 11f3485173cf63d5beea42e9e1ce519d503c56a6
|
Loading…
Reference in a new issue