aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-13 15:15:46 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2020-01-13 15:15:46 +0100
commite7444762ffff742bfccf70cb3493d8e52833f990 (patch)
tree802494c9998d978d305ad4e735a79ae71739887b
parent3f3a1c4dac6107679098b55faa47d92dda4e8918 (diff)
downloadrpi-MMU-example-e7444762ffff742bfccf70cb3493d8e52833f990.tar.gz
rpi-MMU-example-e7444762ffff742bfccf70cb3493d8e52833f990.zip
variable assignment types
-rw-r--r--build/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/build/Makefile b/build/Makefile
index c657748..ac6c818 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -1,19 +1,19 @@
-HOST_CC=gcc
+HOST_CC ?= gcc
-HOST_CFLAGS=-Wall -std=gnu99 -I../src/lib/rs232 -O3
+HOST_CFLAGS ?= -Wall -std=gnu99 -I../src/lib/rs232 -O3
-ARM_CC=arm-none-eabi-gcc
+ARM_CC ?= arm-none-eabi-gcc
-ARM_CFLAGS=-mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall -Wextra $(addprefix -I, $(dirs))
-ELFFLAGS=-nostdlib -lgcc
+ARM_CFLAGS ?= -mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall -Wextra $(addprefix -I, $(dirs))
+ELFFLAGS ?= -nostdlib -lgcc
-KERNEL_STAGE2_OBJECTS=setup.o interrupt_vector.o interrupts.o uart.o demo_functionality.o paging.o ramfs_embeddable.o ramfs.o strings.o io.o atags.o scheduler.o
+KERNEL_STAGE2_OBJECTS := setup.o interrupt_vector.o interrupts.o uart.o demo_functionality.o paging.o ramfs_embeddable.o ramfs.o strings.o io.o atags.o scheduler.o
-PL_0_TEST_OBJECTS=PL0_utils.o svc.o PL0_test.o strings.o io.o
+PL_0_TEST_OBJECTS := PL0_utils.o svc.o PL0_test.o strings.o io.o
-LOADER_STAGE2_OBJECTS=uart.o strings.o io.o loader_stage2.o
+LOADER_STAGE2_OBJECTS := uart.o strings.o io.o loader_stage2.o
-RAMFS_FILES=PL0_test.img
+RAMFS_FILES := PL0_test.img
all : kernel.img