summaryrefslogtreecommitdiff
path: root/src/stm
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-18 10:01:29 -0800
committerKeith Packard <keithp@keithp.com>2013-12-18 10:01:29 -0800
commit9c200c3bc742b4dd1a7e28bfce9d5b27e833aae5 (patch)
treee623e349673fc78f2ada6d3b49108f93fcac2731 /src/stm
parentfbde0c3e4bdb419d6bd4dbcc96b0e01c59e9fa13 (diff)
altos: Build pdclib locally if necessary
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm')
-rw-r--r--src/stm/Makefile.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index b1998f93..9adcfeb3 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -22,9 +22,9 @@ endif
include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
-LIBS=-lpdclib-cortex-m3 -lgcc
+LIBS=$(PDCLIB_LIBS_M3) -lgcc
-AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I..
+AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
LDFLAGS=-L../stm -Wl,-Taltos.ld