aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lua/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-02-22 04:37:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-02-22 04:37:20 +0000
commit7eb15898755be46e94078faffdacd8c9b0ce66cd (patch)
tree89dc171f7b7c646be5a38ca7d7b99e1be24fa61f /tools/lua/Makefile
parent6ccc1c8e3c9ad0ac95c728573c300264943d8338 (diff)
downloadupstream-7eb15898755be46e94078faffdacd8c9b0ce66cd.tar.gz
upstream-7eb15898755be46e94078faffdacd8c9b0ce66cd.tar.bz2
upstream-7eb15898755be46e94078faffdacd8c9b0ce66cd.zip
build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
Diffstat (limited to 'tools/lua/Makefile')
-rw-r--r--tools/lua/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/lua/Makefile b/tools/lua/Makefile
index 1bebe09f96..13d06b107c 100644
--- a/tools/lua/Makefile
+++ b/tools/lua/Makefile
@@ -20,23 +20,23 @@ PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150
include $(INCLUDE_DIR)/host-build.mk
-define Build/Configure
+define Host/Configure
endef
TARGET_CFLAGS += -DLUA_USE_LINUX
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/src luac-host
+define Host/Compile
+ $(MAKE) -C $(HOST_BUILD_DIR)/src luac-host
endef
-define Build/Install
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/luac-host $(STAGING_DIR_HOST)/bin/luac
+define Host/Install
+ $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/luac-host $(STAGING_DIR_HOST)/bin/luac
endef
-define Build/Clean
- $(MAKE) -C $(PKG_BUILD_DIR)/src clean
- rm -f $(PKG_BUILD_DIR)/src/luac-host
- $(call Build/Clean/Default)
+define Host/Clean
+ $(MAKE) -C $(HOST_BUILD_DIR)/src clean
+ rm -f $(HOST_BUILD_DIR)/src/luac-host
+ $(call Host/Clean/Default)
endef
$(eval $(call HostBuild))