summaryrefslogtreecommitdiff
path: root/tools/lua/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-02-22 18:10:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-02-22 18:10:23 +0000
commit25d318e815d06a829354f84d0d8e4e206473123c (patch)
tree1e728b5c0c7fbbe2f073c2cd58e791a5ce3ba39e /tools/lua/Makefile
parentaa0778f77efb1d5c0d49e66a9d52ff438bc1ba7d (diff)
downloadmtk-20170518-25d318e815d06a829354f84d0d8e4e206473123c.zip
mtk-20170518-25d318e815d06a829354f84d0d8e4e206473123c.tar.gz
mtk-20170518-25d318e815d06a829354f84d0d8e4e206473123c.tar.bz2
merge host build of lua from tools/ into package/lua/Makefile
SVN-Revision: 14622
Diffstat (limited to 'tools/lua/Makefile')
-rw-r--r--tools/lua/Makefile42
1 files changed, 0 insertions, 42 deletions
diff --git a/tools/lua/Makefile b/tools/lua/Makefile
deleted file mode 100644
index 13d06b1..0000000
--- a/tools/lua/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=lua
-PKG_VERSION:=5.1.4
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.lua.org/ftp/ \
- http://ftp.gwdg.de/pub/languages/lua/ \
- http://mirrors.dotsrc.org/lua/ \
- http://www.tecgraf.puc-rio.br/lua/ftp/
-PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150
-
-include $(INCLUDE_DIR)/host-build.mk
-
-define Host/Configure
-endef
-
-TARGET_CFLAGS += -DLUA_USE_LINUX
-
-define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR)/src luac-host
-endef
-
-define Host/Install
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/src/luac-host $(STAGING_DIR_HOST)/bin/luac
-endef
-
-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))