diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -9,12 +9,11 @@ boot.o : boot.S kernel.elf : boot.o kernel.o arm-none-eabi-gcc -T linker.ld -o $@ -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc +# objcopy pads 0x0000 to 0x8000 with zeros, we get rid of them in the next recipe kernel_padded.img : kernel.elf arm-none-eabi-objcopy $^ -O binary $@ -# objcopy pads 0x0000 to 0x8000 with zeros, we need to get rid of them kernel7.img : kernel_padded.img - -rm $@ dd bs=4096 skip=8 if=$^ of=$@ qemu-elf : kernel.elf |