From 13e0b216561bdc7c9e92d8ca45ff109d8c94a259 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 23 Jul 2014 15:55:27 +0200 Subject: [PATCH] The firmware should compile correctly on Windows now --- radio/src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/Makefile b/radio/src/Makefile index 4abed4afb..15d285c4f 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -771,6 +771,7 @@ ifeq ($(PCB), TARANIS) endif CC = $(TRGT)gcc +CPP = $(TRGT)cpp AS = $(TRGT)as OBJCOPY = $(TRGT)objcopy OBJDUMP = $(TRGT)objdump @@ -1277,7 +1278,7 @@ bitmaps/sticks.lbm: bitmaps/sticks_4x1.xbm bitmaps/splash_9x.xbm bitmaps/splash_ lua_exports.cpp: myeeprom.h ../util/luaexport.py @echo "Generating a list of Lua exported constants in lua_exports.txt" - @cpp -DPCBTARANIS -DCPUARM -DLUA -DEXPORT myeeprom.h | grep LEXP > lua_exports.txt + @$(CPP) -DPCBTARANIS -DCPUARM -DLUA -DEXPORT myeeprom.h | grep LEXP > lua_exports.txt @echo "Parsing and generating C Lua exports in lua_exports.cpp" @python ../util/luaexport.py lua_exports.txt lua_exports.cpp