Copy relibc artifacts to filesystem

This commit is contained in:
Jeremy Soller 2019-04-15 21:27:59 -06:00
parent 402450e780
commit 1c4797e16d
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1

View file

@ -11,6 +11,8 @@ build/filesystem.bin: filesystem.toml build/bootloader build/kernel prefix
cp $< build/filesystem/filesystem.toml
cp build/bootloader build/filesystem/bootloader
cp build/kernel build/filesystem/kernel
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
export PATH="$(PREFIX_PATH):$$PATH" && \
cargo run --manifest-path installer/Cargo.toml --release -- $(INSTALLER_FLAGS) -c $< build/filesystem/
sync