summaryrefslogtreecommitdiff
path: root/src/stm-bringup/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-18 12:59:05 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commit7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d (patch)
tree74e5fe54f95ab21e513a1c9a14b8a02c1c8cffea /src/stm-bringup/Makefile
parent889518aeee080b0f8bb954db86d08105898d8161 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src/stm-bringup/Makefile')
-rw-r--r--src/stm-bringup/Makefile4
1 files changed, 2 insertions, 2 deletions
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