diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-30 17:36:51 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-30 17:36:51 +0100 |
commit | 68d11d4c42d6e82629e7a38e34c358d7d501e865 (patch) | |
tree | 4d3c3f95da7da82e41a9b25ccc0fd6b2b17c1f13 /Makefile | |
parent | c9e045dc2170a99c9f32386e3e53aee9e01a8e7c (diff) | |
download | rpi-MMU-example-68d11d4c42d6e82629e7a38e34c358d7d501e865.tar.gz rpi-MMU-example-68d11d4c42d6e82629e7a38e34c358d7d501e865.zip |
minor improvements to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -34,23 +34,17 @@ kernel_stage1.o : kernel_stage1.S kernel_stage2.img kernel.elf : kernel_stage1.ld kernel_stage1.o arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) kernel_stage1.o -kernel.img : kernel.elf - arm-none-eabi-objcopy $^ -O binary $@ - kernel_stage2.elf : kernel_stage2.ld $(KERNEL_STAGE2_OBJECTS) arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) $(KERNEL_STAGE2_OBJECTS) -#kernel.elf : boot.o kernel.o uart.o demo_functionality.o paging.o interrupt_vector.o interrupts.o ramfs_embeddable.o ramfs.o -# arm-none-eabi-gcc -T linker.ld -o $@ $(ELFFLAGS) $^ - loader_stage2.elf : loader_stage2_linker.ld $(LOADER_STAGE2_OBJECTS) arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) $(LOADER_STAGE2_OBJECTS) loader_stage1.o : loader_stage1.S loader_stage2.img arm-none-eabi-as -mcpu=cortex-a7 $< -o $@ -loader.elf : loader_stage1.o - arm-none-eabi-gcc -T loader_stage1_linker.ld -o $@ $(ELFFLAGS) $^ +loader.elf : loader_stage1_linker.ld loader_stage1.o + arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) loader_stage1.o loader.img : loader.elf arm-none-eabi-objcopy $^ -O binary $@ |