this patch fixes uboot-envtools so that it is no longer broken.
[openwrt.git] / package / lua / Makefile
index e314341..c8c64ba 100644 (file)
@@ -111,14 +111,19 @@ define Build/Compile
                install
 endef
 
-define Build/Configure
+define Host/Configure
        $(SED) 's,"/usr/local/","$(STAGING_DIR_HOST)/",' $(HOST_BUILD_DIR)/src/luaconf.h
 endef
 
-LUA_OS.Darwin:=macosx
-LUA_OS.FreeBSD:=freebsd
-LUA_OS:=$(LUA_OS.$(HOST_OS))
-LUA_OS?=linux
+ifeq ($(HOST_OS),Darwin)
+       LUA_OS:=macosx
+else
+       ifeq ($(HOST_OS),FreeBSD)
+               LUA_OS:=freebsd
+       else
+               LUA_OS:=linux
+       endif
+endif
 
 define Host/Compile
        $(MAKE) -C $(HOST_BUILD_DIR) \
This page took 0.02655 seconds and 4 git commands to generate.