diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:49:20 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:49:20 +0100 |
commit | 39145f6d1b8c57abe2bc0167b2b413970d0dfdb6 (patch) | |
tree | 2e2a76590e749579676720505aa38c57f85a95a4 /Makefile | |
parent | 11541f1d1eaaefebd6d01b42e92a65606e4bc382 (diff) | |
download | rpi-MMU-example-39145f6d1b8c57abe2bc0167b2b413970d0dfdb6.tar.gz rpi-MMU-example-39145f6d1b8c57abe2bc0167b2b413970d0dfdb6.zip |
split kernel into more files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |