summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-18 10:55:06 -0800
committerKeith Packard <keithp@keithp.com>2013-12-18 10:55:06 -0800
commit8f529633cd4be8a0edb1b067bbf5d7cc055dcc1b (patch)
tree70369d493ca060ecb8370d50eb86ce38a281c735 /src
parent262ee65885d55902df96f4aec6a114f5ac6f2c61 (diff)
altos: get stm-bringup building again
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm-bringup/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stm-bringup/Makefile b/src/stm-bringup/Makefile
index 33ecd710..797df2d6 100644
--- a/src/stm-bringup/Makefile
+++ b/src/stm-bringup/Makefile
@@ -4,13 +4,15 @@ vpath ao-make-product.5c ../util
ifndef VERSION
include ../Version
endif
+TOPDIR=..
+include $(TOPDIR)/Makedefs
CC=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy
-C_LIB=-lpdclib-cortex-m3
+C_LIB=$(PDCLIB_LIBS_M3)
-DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm
+DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../stm $(PDCLIB_INCLUDES)
# to run from SRAM
LD_FLAGS_RAM=-L../stm -Wl,-Taltos-ram.ld