summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2013-12-18 11:51:11 -0700
committerBdale Garbee <bdale@gag.com>2013-12-18 11:51:11 -0700
commit382f1b123991afd7b187532261c05580eedaaa82 (patch)
treef3f2722e8cb2218a3c0b1c63e81323a950f93b72
parent91d22f0be5af4d29e53374f0e0b3ee5a2d115e5e (diff)
parent90386115204bd3bfa55deb5ebe1972bacdba725a (diff)
Merge branch 'with-pdclib' of ssh://git.gag.com/scm/git/fw/altos into with-pdclib
-rw-r--r--src/stm/Makefile-flash.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/Makefile-flash.defs b/src/stm/Makefile-flash.defs
index be3ae799..3890eff1 100644
--- a/src/stm/Makefile-flash.defs
+++ b/src/stm/Makefile-flash.defs
@@ -12,9 +12,9 @@ endif
include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
-LIBS=-lpdclib-cortex-m3 -lgcc
+LIBS=$(PDCLIB_LIBS_M3) -lgcc
-AO_CFLAGS=-I. -I$(TOPDIR)/stm -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR)
+AO_CFLAGS=-I. -I$(TOPDIR)/stm -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR) $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS) $(SAT_CFLAGS)
LDFLAGS=-L$(TOPDIR)/stm -Wl,-Taltos-loader.ld