2014-03-20 23:17:10 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libubox
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-09-16 11:16:25 +02:00
|
|
|
LIBUBOX_VERSION = 290c64ef5b5c3e75be851594f269d6a9568e64e5
|
2015-07-25 21:36:57 +02:00
|
|
|
LIBUBOX_SITE = git://git.openwrt.org/project/libubox.git
|
2016-09-16 11:16:26 +02:00
|
|
|
LIBUBOX_LICENSE = ISC, BSD-3c
|
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 \
|
|
|
|
-DLUAPATH=$(STAGING_DIR)/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))
|