9d3c0b5c22
The uci-fix-Lua-finding.patch was upstreamed, so remove it. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
613 B
Makefile
22 lines
613 B
Makefile
################################################################################
|
|
#
|
|
# libuci
|
|
#
|
|
################################################################################
|
|
|
|
LIBUCI_VERSION = ed938cc8e423d4a33b8f31e6e6d1eb0805ae3d10
|
|
LIBUCI_SITE = git://nbd.name/uci.git
|
|
LIBUCI_LICENSE = LGPLv2.1
|
|
LIBUCI_INSTALL_STAGING = YES
|
|
LIBUCI_DEPENDENCIES = libubox
|
|
|
|
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
|
|
|
|
$(eval $(cmake-package))
|