altos: Set the path for the STM32L compiler explicitly
authorKeith Packard <keithp@keithp.com>
Tue, 21 May 2013 18:08:15 +0000 (11:08 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 21 May 2013 18:08:15 +0000 (11:08 -0700)
This makes sure we use the known toolchain for STM32L builds

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/Makefile.defs

index c8bb7d704b4573b0c306e6e03d8aaa2f8bc858b6..8ef30521ee4645e63a60afc531ea5841d0abeaf8 100644 (file)
@@ -12,8 +12,8 @@ vpath ao-make-product.5c ../util
 .elf.ihx:
        objcopy -O ihex $*.elf $@
 
-CC=arm-none-eabi-gcc
 SAT=/opt/cortex
+CC=$(SAT)/bin/arm-none-eabi-gcc
 SAT_CLIB=$(SAT)/lib/pdclib-cortex-m3.a
 SAT_CFLAGS=-I$(SAT)/include