summaryrefslogtreecommitdiff
path: root/src/stm/Makefile.defs
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-10 00:00:05 -0700
committerKeith Packard <keithp@keithp.com>2013-10-10 00:01:26 -0700
commitd8d3835fedf9b7c4d203f321e72c2b086ebb3b97 (patch)
tree3a1dc1e645d3e2d83421c036765912714bcdde25 /src/stm/Makefile.defs
parent7f6cbfac7c1965add91ebfc28ca3eac4561b4fb6 (diff)
altos: Use installed pdclib
Switch over to the installed pdclib everywhere Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/Makefile.defs')
-rw-r--r--src/stm/Makefile.defs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index ede75f80..ee1cb658 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -22,12 +22,10 @@ endif
include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
-SAT=/opt/cortex
-SAT_CLIB=$(SAT)/lib/pdclib-cortex-m3.a
-SAT_CFLAGS=-I$(SAT)/include
+LIBS=-lpdclib-cortex-m3 -lgcc
AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I..
-STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS) $(SAT_CFLAGS)
+STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
LDFLAGS=-L../stm -Wl,-Taltos.ld