mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 17:37:43 +00:00
libuci: Disable lua binding on no mmu
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>
This commit is contained in:
parent
48ac052e32
commit
32e0691164
@ -10,14 +10,12 @@ LIBUCI_LICENSE = LGPLv2.1
|
|||||||
LIBUCI_INSTALL_STAGING = YES
|
LIBUCI_INSTALL_STAGING = YES
|
||||||
LIBUCI_DEPENDENCIES = libubox
|
LIBUCI_DEPENDENCIES = libubox
|
||||||
|
|
||||||
ifeq ($(BR2_USE_MMU),y) # fork()
|
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
||||||
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
|
||||||
LIBUCI_DEPENDENCIES += lua
|
LIBUCI_DEPENDENCIES += lua
|
||||||
LIBUCI_CONF_OPT += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
LIBUCI_CONF_OPT += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
||||||
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
||||||
else
|
else
|
||||||
LIBUCI_CONF_OPT += -DBUILD_LUA:BOOL=OFF
|
LIBUCI_CONF_OPT += -DBUILD_LUA:BOOL=OFF
|
||||||
endif
|
endif
|
||||||
endif # MMU
|
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user