diff options
author | Anton Kling <anton@kling.gg> | 2023-10-30 22:44:02 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-31 00:18:38 +0100 |
commit | 34342b53c39aa3f22326b6e4eda960cc20cfa0f0 (patch) | |
tree | 01bc4fcbc78623e406bcfa45dd9bd04ebd915663 /kernel/Makefile | |
parent | 8a9208612eec8ddae4c418485d848ecfa0613699 (diff) |
Meta: Create simple build scripts for kernel, userland and general enviroment
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 5098944..8fd5df1 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -15,16 +15,6 @@ all: myos.iso myos.bin: $(OBJ) $(CC) $(INCLUDE) -shared -T linker.ld -o myos.bin -ffreestanding -nostdlib $(CFLAGS) $^ -lgcc -debug: - qemu-system-i386 -no-reboot -no-shutdown -serial file:./serial.log -hda ext2.img -m 1G -cdrom myos.iso -s -S & - gdb -x .gdbinit - -nk: - qemu-system-i386 -d int -netdev user,id=n0,hostfwd=udp:127.0.0.1:6001-:6000 -device rtl8139,netdev=n0 -no-reboot -no-shutdown -serial file:./serial.log -hda ext2.img -m 1G -cdrom myos.iso -s - -run: - qemu-system-i386 -enable-kvm -netdev user,id=n0,hostfwd=udp:127.0.0.1:6001-:6000 -device rtl8139,netdev=n0 -object filter-dump,id=id,netdev=n0,file=netout -d int -no-reboot -no-shutdown -chardev stdio,id=char0,logfile=serial.log,signal=off -serial chardev:char0 -hda ext2.img -m 1G -cdrom myos.iso -s - myos.iso: myos.bin cp myos.bin isodir/boot grub-mkrescue -o myos.iso isodir |