libuci: Disable lua binding on no mmu
authorRomain Naour <romain.naour@openwide.fr>
Mon, 7 Apr 2014 20:43:41 +0000 (22:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 7 Apr 2014 22:56:53 +0000 (00:56 +0200)
Same error as in libubox package.
http://autobuild.buildroot.net/results/1a5/1a5c50f8ca0ae70c1e0d3733765f521790b97a30/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libuci/libuci.mk

index a7d3a809d47e91f6a87caef7b2da31925be2c39d..adc7bcecc7e1dc9aab986748d509040f55a18a51 100644 (file)
@@ -10,14 +10,12 @@ LIBUCI_LICENSE = LGPLv2.1
 LIBUCI_INSTALL_STAGING = YES
 LIBUCI_DEPENDENCIES = libubox
 
-ifeq ($(BR2_USE_MMU),y) # fork()
-ifeq ($(BR2_PACKAGE_LUA_5_1),y)
+ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
 LIBUCI_DEPENDENCIES += lua
 LIBUCI_CONF_OPT += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
        -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
 else
 LIBUCI_CONF_OPT += -DBUILD_LUA:BOOL=OFF
 endif
-endif # MMU
 
 $(eval $(cmake-package))