Compilation of ubus/ familly now use the offial cmake instead of a rewriten one.

This commit is contained in:
jbnadal
2017-03-20 14:43:00 +01:00
parent b9e31fce39
commit 0e766a04f4
15 changed files with 981 additions and 220 deletions

View File

@@ -1,6 +1,14 @@
config BR2_PACKAGE_LIBUBOX
bool "libubox"
default n
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_JSON_C
help
New Version of the ubox library.
This library originates from the OpenWrt project to
handle the configuration file infrastructure, but can
also be used for the same purposes in projects other
than OpenWrt.
http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summary
comment "libubox needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@@ -6,14 +6,17 @@
LIBUBOX_VERSION:= 2016-11-29
LIBUBOX_SITE = $(TOPDIR)/../../src/3P/libubox/builders/cmake
LIBUBOX_SITE = $(TOPDIR)/../../src/3P/libubox
LIBUBOX_SITE_METHOD = local
LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
LIBUBOX_INSTALL_STAGING = YES
LIBUBOX_DEPENDENCIES = json-c
LIBUBOX_CONF = SRC_DIR=$(TOPDIR)/../..
LIBUBOX_CONF_OPTS +=-DBUILD_LUA=OFF
LIBUBOX_CONF_ENV = $(LIBUBOX_CONF)
LIBUBOX_MAKE_ENV = $(LIBUBOX_CONF)
LIBUBOX_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)