aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-10-11 18:59:16 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-10-11 18:59:16 +0200
commitbc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5 (patch)
treeabb9e1e6632a902fa2aa4acc1be21cfb9421e312 /Makefile
parentb452b0edbc784722c25014a20f554737d64ba758 (diff)
downloadrpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.tar.gz
rpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.zip
initialize uart in bootloader's stage2, not stage1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2fbb0aa..7632283 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ loader_stage2_embeddable.o : loader_stage2.img
loader_stage1.o : loader_stage1.c
arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@
-loader.elf : boot.o loader_stage1.o uart.o loader_stage2_embeddable.o
+loader.elf : boot.o loader_stage1.o loader_stage2_embeddable.o
arm-none-eabi-gcc -T loader_stage1.ld -o $@ -ffreestanding -O2 -nostdlib $^ -lgcc
loader.img : loader.elf