Making stuff work again
This commit is contained in:
parent
086eba4ea4
commit
e472492ee3
2 changed files with 57 additions and 56 deletions
7
Makefile
7
Makefile
|
@ -6,12 +6,13 @@ build/start32.o: build/ src/start32.asm
|
|||
fasm src/start32.asm build/start32.o
|
||||
build/kernel-i386.elf: build/start32.o
|
||||
tcc -m32 -nostdlib -Wl,-Ttext,0x100000 -o build/kernel-i386.elf src/*.c build/start32.o
|
||||
image: build/kernel-i386.elf mount
|
||||
cp build/kernel-i386.elf mnt/
|
||||
sync
|
||||
|
||||
qemu-multiboot: build/kernel-i386.elf
|
||||
qemu-system-i386 -kernel build/kernel-i386.elf -serial stdio
|
||||
qemu-image: build/kernel-i386.elf mount
|
||||
cp build/kernel-i386.elf mnt/
|
||||
sync
|
||||
qemu-image: image
|
||||
qemu-system-i386 koalemos.img -serial stdio
|
||||
|
||||
mount: koalemos.img mnt/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue