aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6f2600e..caa0154 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,12 @@ all : kernel7.img
kernel.o : kernel.c
arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@
+paging.o : paging.c
+ arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@
+
+demo_functionality.o : demo_functionality.c
+ arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@
+
PL0_test.o : PL0_test.c
arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@
@@ -25,7 +31,7 @@ uart.o : uart.c
boot.o : boot.S
arm-none-eabi-as -mcpu=cortex-a7 $^ -o $@
-kernel.elf : boot.o kernel.o uart.o PL0_test.o PL_0_test_embeddable.o
+kernel.elf : boot.o kernel.o uart.o PL_0_test_embeddable.o demo_functionality.o paging.o
arm-none-eabi-gcc -T linker.ld -o $@ $(ELFFLAGS) $^
kernel7.img : kernel.elf