From 7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Feb 2019 12:59:05 -0800 Subject: altos: Move common build definitions to src/Makefile.defs This cleans up the build process for all architectures, providing a common place to specify vpath, cflags and build rules for various common files. Signed-off-by: Keith Packard --- src/stm-bringup/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stm-bringup/Makefile') diff --git a/src/stm-bringup/Makefile b/src/stm-bringup/Makefile index b0943e56..53738771 100644 --- a/src/stm-bringup/Makefile +++ b/src/stm-bringup/Makefile @@ -7,12 +7,12 @@ endif TOPDIR=.. include $(TOPDIR)/Makedefs -CC=arm-none-eabi-gcc +CC=arm-none-eabicc OBJCOPY=arm-none-eabi-objcopy C_LIB=$(PDCLIB_LIBS_M3) -DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm $(PDCLIB_INCLUDES) +DEF_CFLAGS= -std=gnu99 -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm $(PDCLIB_INCLUDES) # to run from SRAM LD_FLAGS_RAM=-L../stm -Wl,-Taltos-ram.ld -- cgit v1.2.3