From e7444762ffff742bfccf70cb3493d8e52833f990 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 13 Jan 2020 15:15:46 +0100 Subject: variable assignment types --- build/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'build') 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 -- cgit v1.2.3