Adjust initfs removed binaries, copy bootloader to filesystem
This commit is contained in:
parent
ca0792a390
commit
e779848fdd
|
@ -1,4 +1,4 @@
|
||||||
build/filesystem.bin: filesystem.toml build/kernel prefix
|
build/filesystem.bin: filesystem.toml build/bootloader.bin build/kernel prefix
|
||||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||||
cargo build --manifest-path installer/Cargo.toml --release
|
cargo build --manifest-path installer/Cargo.toml --release
|
||||||
cargo build --manifest-path redoxfs/Cargo.toml --release
|
cargo build --manifest-path redoxfs/Cargo.toml --release
|
||||||
|
@ -11,6 +11,7 @@ build/filesystem.bin: filesystem.toml build/kernel prefix
|
||||||
sleep 2
|
sleep 2
|
||||||
pgrep redoxfs
|
pgrep redoxfs
|
||||||
cp $< build/filesystem/filesystem.toml
|
cp $< build/filesystem/filesystem.toml
|
||||||
|
cp build/bootloader.bin build/filesystem/bootloader
|
||||||
cp build/kernel build/filesystem/kernel
|
cp build/kernel build/filesystem/kernel
|
||||||
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
|
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/include build/filesystem/include
|
||||||
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
|
cp -r $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib build/filesystem/lib
|
||||||
|
|
16
mk/initfs.mk
16
mk/initfs.mk
|
@ -1,4 +1,18 @@
|
||||||
INITFS_RM_BINS=alxd e1000d ihdad ixgbed pcspkrd redoxfs-ar redoxfs-mkfs rtl8168d usbctl
|
INITFS_RM_BINS=\
|
||||||
|
alxd \
|
||||||
|
bgad \
|
||||||
|
e1000d \
|
||||||
|
ihdad \
|
||||||
|
ixgbed \
|
||||||
|
pcspkrd \
|
||||||
|
redoxfs-ar \
|
||||||
|
redoxfs-mkfs \
|
||||||
|
rtl8168d \
|
||||||
|
usbctl \
|
||||||
|
usbhidd \
|
||||||
|
usbscsid \
|
||||||
|
vboxd \
|
||||||
|
xhcid
|
||||||
|
|
||||||
build/initfs.tag: initfs.toml prefix
|
build/initfs.tag: initfs.toml prefix
|
||||||
cargo build --manifest-path cookbook/Cargo.toml --release
|
cargo build --manifest-path cookbook/Cargo.toml --release
|
||||||
|
|
Loading…
Reference in a new issue