X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4d27062031388d19da5139f5c74333a31082ae01..46e50210bd165f5becfa35328da5d1ac54332bfa:/package/lua/Makefile diff --git a/package/lua/Makefile b/package/lua/Makefile index 7f0874bd6..afd599a37 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -19,8 +18,6 @@ PKG_SOURCE_URL:=http://www.lua.org/ftp/ \ http://www.tecgraf.puc-rio.br/lua/ftp/ PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150 -HOST_PATCH_DIR=./patches-host -include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/lua/Default @@ -83,21 +80,9 @@ $(call Package/lua/Default/description) This package contains LUA language examples. endef -# Host build -define Host/Configure - -endef - -define Host/Compile - $(MAKE) -C $(HOST_BUILD_DIR)/src luac-host +define Build/Configure endef -define Host/Install - $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/luac-host $(STAGING_DIR_HOST)/bin/luac -endef - -# Target build - TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) ifneq ($(CONFIG_USE_EGLIBC),) @@ -106,8 +91,6 @@ ifneq ($(CONFIG_USE_EGLIBC),) endif endif -Build/Configure=$(Host/Configure) - define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CROSS)gcc" \ @@ -156,7 +139,6 @@ define Package/lua-examples/install $(1)/usr/share/lua/examples/ endef -$(eval $(call HostBuild)) $(eval $(call BuildPackage,liblua)) $(eval $(call BuildPackage,lua)) $(eval $(call BuildPackage,luac))