altos: Add stack-guard code. Uses STM MPU to trap stack overflow.
[fw/altos] / src / stm-bringup / Makefile
index d45e836d6a822967c03771f249e622d525943631..5cc94bd969f64a3a147461bbe7489ef2416115a3 100644 (file)
@@ -12,7 +12,7 @@ PDCLIB=/home/keithp/sat
 C_LIB=$(PDCLIB)/lib/pdclib.a
 C_INC=-I$(PDCLIB)/include
 
-DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I../../src/stm $(C_INC)
+DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I. -I../../src/stm $(C_INC)
 
 # to run from SRAM
 LD_FLAGS_RAM=-L../stm -Wl,-Taltos-ram.ld