summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/lua.make
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-28 22:02:53 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-28 22:02:53 +0000
commitacbbf9361538bb1fc2738a5994359aacdc9d2f43 (patch)
tree72494e82a8c4a37661aab09611997998cf9a64f3 /apps/plugins/lua/lua.make
parenta96f2373db547c4ed482dffe1b4037013a1171ea (diff)
Lua: make sure action.h gets C preprocessed before processing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21123 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/lua.make')
-rw-r--r--apps/plugins/lua/lua.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make
index 45d6739f25..596e32045f 100644
--- a/apps/plugins/lua/lua.make
+++ b/apps/plugins/lua/lua.make
@@ -33,7 +33,7 @@ endif
$(LUA_BUILDDIR)/lua.rock: $(LUA_OBJ) $(LUA_BUILDDIR)/actions.lua
$(LUA_BUILDDIR)/actions.lua: $(LUA_OBJ)
- $(call PRINTS,GEN $(@F))$(LUA_SRCDIR)/action_helper.pl $(LUA_SRCDIR) > $@
+ $(call PRINTS,GEN $(@F))$(CC) $(PLUGINFLAGS) -E $(APPSDIR)/action.h | $(LUA_SRCDIR)/action_helper.pl > $(LUA_BUILDDIR)/actions.lua
$(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ)