aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
694 B
Makefile
22 lines
694 B
Makefile
################################################################################
|
|
#
|
|
# libubox
|
|
#
|
|
################################################################################
|
|
|
|
LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b
|
|
LIBUBOX_SITE = git://nbd.name/luci2/libubox.git
|
|
LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
|
|
LIBUBOX_INSTALL_STAGING = YES
|
|
LIBUBOX_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_JSON_C),json-c)
|
|
|
|
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
|
LIBUBOX_DEPENDENCIES += lua
|
|
LIBUBOX_CONF_OPTS += -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
|
else
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA:BOOL=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|