diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 20:12:19 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 20:13:05 -0400 |
commit | 127862c9476ea3f3494c776dad430c01504461ae (patch) | |
tree | 8b4827ddbc336f7e4dac0217326f6bab4172aa43 /apps | |
parent | 91197dd59b5fb7e87f34bed8518d04838d0b35ae (diff) | |
download | rockbox-127862c9476ea3f3494c776dad430c01504461ae.tar.gz rockbox-127862c9476ea3f3494c776dad430c01504461ae.zip |
lua: Include $TARGET when preprocessing the headers for the button helper
Change-Id: I3ab98b52991949adb1db2f13ea99ed24d827e575
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lua/lua.make | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make index 61decb5605..4e026b5b76 100644 --- a/apps/plugins/lua/lua.make +++ b/apps/plugins/lua/lua.make | |||
@@ -43,7 +43,7 @@ $(LUA_BUILDDIR)/settings.lua: $(LUA_OBJ) $(LUA_SRCDIR)/settings_helper.pl | |||
43 | 43 | ||
44 | HOST_INCLUDES := $(filter-out %/libc/include,$(INCLUDES)) | 44 | HOST_INCLUDES := $(filter-out %/libc/include,$(INCLUDES)) |
45 | $(LUA_BUILDDIR)/buttons.lua: $(LUA_OBJ) $(LUA_SRCDIR)/button_helper.pl | 45 | $(LUA_BUILDDIR)/buttons.lua: $(LUA_OBJ) $(LUA_SRCDIR)/button_helper.pl |
46 | $(SILENT)$(CC) $(INCLUDES) -dM -E -P -include button-target.h - < /dev/null | $(LUA_SRCDIR)/button_helper.pl | $(HOSTCC) -fno-builtin $(HOST_INCLUDES) -x c -o $(LUA_BUILDDIR)/button_helper - | 46 | $(SILENT)$(CC) $(INCLUDES) $(TARGET) -dM -E -P -include button-target.h - < /dev/null | $(LUA_SRCDIR)/button_helper.pl | $(HOSTCC) -fno-builtin $(HOST_INCLUDES) -x c -o $(LUA_BUILDDIR)/button_helper - |
47 | $(call PRINTS,GEN $(@F))$(LUA_BUILDDIR)/button_helper > $(LUA_BUILDDIR)/buttons.lua | 47 | $(call PRINTS,GEN $(@F))$(LUA_BUILDDIR)/button_helper > $(LUA_BUILDDIR)/buttons.lua |
48 | 48 | ||
49 | $(LUA_BUILDDIR)/rb_defines.lua: $(LUA_OBJ) $(LUA_SRCDIR)/rbdefines_helper.pl | 49 | $(LUA_BUILDDIR)/rb_defines.lua: $(LUA_OBJ) $(LUA_SRCDIR)/rbdefines_helper.pl |
@@ -80,4 +80,3 @@ $(LUA_BUILDDIR)/lua.ovl: $(LUA_OBJ) $(TLSFLIB) $(LUA_OUTLDS) | |||
80 | 80 | ||
81 | $(LUA_BUILDDIR): | 81 | $(LUA_BUILDDIR): |
82 | $(call PRINTS,MKDIR $@)mkdir -p $(LUA_BUILDDIR)/ | 82 | $(call PRINTS,MKDIR $@)mkdir -p $(LUA_BUILDDIR)/ |
83 | |||