aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-28 23:37:17 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-28 23:37:17 +0100
commitdab51b1932cb82af152b0b6cbdb687083f79a290 (patch)
treeb7bf2c7bafa10f615b3c2a8d8947b2b84aaebbaf /Makefile
parenta910d10349593fce9f5f28f0de4f27ba85cd7df2 (diff)
downloadrpi-MMU-example-dab51b1932cb82af152b0b6cbdb687083f79a290.tar.gz
rpi-MMU-example-dab51b1932cb82af152b0b6cbdb687083f79a290.zip
improve linking of PL0_test
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 68368a5..e48dd2d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ all : kernel.img
%_embeddable.o : %.img
arm-none-eabi-objcopy -I binary -O elf32-littlearm -B arm --rename-section .data=.rodata $^ $@
-PL_0_test.elf : PL0_test.o uart.o
- arm-none-eabi-gcc -T PL0_test.ld -o $@ $(ELFFLAGS) $^
+PL_0_test.elf : PL0_test.ld PL0_test.o uart.o
+ arm-none-eabi-gcc -T $< -o $@ $(ELFFLAGS) PL0_test.o uart.o
kernel_stage1.o : kernel_stage1.S kernel_stage2.img
arm-none-eabi-as -mcpu=cortex-a7 $< -o $@