1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00

[package] lua: the variable expansion to detect the host os does not work with GNU Make 3.81, replace it with a nested ifeq

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18193 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-10-28 00:11:59 +00:00
parent 05ccb6dea8
commit abc16b03ee

View File

@ -115,10 +115,15 @@ define Host/Configure
$(SED) 's,"/usr/local/","$(STAGING_DIR_HOST)/",' $(HOST_BUILD_DIR)/src/luaconf.h $(SED) 's,"/usr/local/","$(STAGING_DIR_HOST)/",' $(HOST_BUILD_DIR)/src/luaconf.h
endef endef
LUA_OS.Darwin:=macosx ifeq ($(HOST_OS),Darwin)
LUA_OS.FreeBSD:=freebsd LUA_OS:=macosx
LUA_OS:=$(LUA_OS.$(HOST_OS)) else
LUA_OS?=linux ifeq ($(HOST_OS),FreeBSD)
LUA_OS:=freebsd
else
LUA_OS:=linux
endif
endif
define Host/Compile define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) \ $(MAKE) -C $(HOST_BUILD_DIR) \