summaryrefslogtreecommitdiff
path: root/src/stm/Makefile.defs
diff options
context:
space:
mode:
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