mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Better makefile recipe for lua_exports.inc target
This commit is contained in:
parent
6f230c4fc7
commit
db4ac954ba
1 changed files with 6 additions and 1 deletions
|
@ -1645,7 +1645,12 @@ else
|
|||
PARSER = gcc -E -x c++
|
||||
endif
|
||||
|
||||
lua_exports.inc: myeeprom.h ../util/luaexport.py
|
||||
.PHONY: lua_exports.inc
|
||||
lua_exports.inc: lua/lua_exports.inc lua_fields.txt
|
||||
|
||||
lua/lua_exports.inc lua_fields.txt: lua_exports.dummy
|
||||
|
||||
lua_exports.dummy: myeeprom.h ../util/luaexport.py
|
||||
@echo "Generating a list of Lua exported constants in lua_exports.txt"
|
||||
@$(PARSER) -DPCBTARANIS -DCPUARM -DCPUSTM32 -DLUA -DEXPORT myeeprom.h | grep LEXP > lua_exports.txt
|
||||
@echo "Parsing and generating C Lua exports in lua/lua_exports.inc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue