diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-03 11:58:02 +0200 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-03 11:58:02 +0200 |
commit | 47c327eac36e78793173496f18b56f0f2159d648 (patch) | |
tree | d7df75f7d5763ed106acdaf4f7c9c9302c5e6ab4 /Makefile | |
parent | 4e7666742e6089e7f0ff359c42f726acde7e2a0c (diff) | |
download | rpi-MMU-example-47c327eac36e78793173496f18b56f0f2159d648.tar.gz rpi-MMU-example-47c327eac36e78793173496f18b56f0f2159d648.zip |
don't delete binary, dd overwrites it anyway; place comment about padding removal
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 |