diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 04:37:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 04:37:20 +0000 |
commit | 800e84cc0ff36cfbc254ec9681d8731a4fd480f1 (patch) | |
tree | 8497134d453d336d68b5dbf67d9b6b719ed2145e /tools/lua/Makefile | |
parent | 9dd62009270ca154e79ce4ae0b135c7feec7253d (diff) |
build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/lua/Makefile')
-rw-r--r-- | tools/lua/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/lua/Makefile b/tools/lua/Makefile index 1bebe09f9..13d06b107 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)) |