Update makefile
This commit is contained in:
parent
03e72ce030
commit
ece6e9c1d0
8
makefile
8
makefile
|
|
@ -27,12 +27,10 @@ tools:
|
||||||
|
|
||||||
mount: bootloader tools kernel
|
mount: bootloader tools kernel
|
||||||
cp bin/bootloader.bin image.bin
|
cp bin/bootloader.bin image.bin
|
||||||
qemu-img resize -f raw image.bin 512M
|
qemu-img resize -f raw image.bin 64M
|
||||||
./diskwrite -l idm.elf ifsm.elf kernel.elf -o image.bin
|
tar --format=ustar -cf initrd.rd idm.elf ifsm.elf initrc.conf
|
||||||
|
./diskwrite initrd.rd kernel.elf -o image.bin
|
||||||
sudo mount image.bin mount
|
sudo mount image.bin mount
|
||||||
sudo mkdir mount/mod
|
|
||||||
sudo mkdir mount/bin
|
|
||||||
sudo mkdir mount/sys
|
|
||||||
@echo "\e[31mrun 'sudo umount mount' to unmount\e[0m"
|
@echo "\e[31mrun 'sudo umount mount' to unmount\e[0m"
|
||||||
|
|
||||||
bootloader:
|
bootloader:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue