2014-03-20 23:17:10 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libubox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-24 13:49:50 +01:00
|
|
|
LIBUBOX_VERSION = 723730214732862de7e892bae2f7a7889e66bf1b
|
2015-07-25 21:36:57 +02:00
|
|
|
LIBUBOX_SITE = git://git.openwrt.org/project/libubox.git
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBUBOX_LICENSE = ISC, BSD-3-Clause
|
2014-03-20 23:17:10 +01:00
|
|
|
LIBUBOX_INSTALL_STAGING = YES
|
2014-10-19 20:04:43 +02:00
|
|
|
LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c)
|
2014-03-20 23:17:10 +01:00
|
|
|
|
2014-04-07 22:33:26 +02:00
|
|
|
ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy)
|
2014-03-30 05:38:01 +02:00
|
|
|
LIBUBOX_DEPENDENCIES += lua
|
2014-10-19 20:04:45 +02:00
|
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \
|
2017-05-06 22:26:10 +02:00
|
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
2014-03-30 05:38:01 +02:00
|
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
2014-03-20 23:17:10 +01:00
|
|
|
else
|
2014-10-19 20:04:44 +02:00
|
|
|
LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF
|
2014-03-20 23:17:10 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|