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)

View File

@@ -6,7 +6,7 @@
UBOX_VERSION:= 2017.01.15
UBOX_SITE = $(TOPDIR)/../../src/3P/ubox/builders/cmake
UBOX_SITE = $(TOPDIR)/../../src/3P/ubox
UBOX_SITE_METHOD = local
UBOX_INSTALL_STAGING = YES

View File

@@ -2,5 +2,15 @@ config BR2_PACKAGE_UBUS
bool "ubus"
default n
select BR2_PACKAGE_LIBUBOX
select BR2_PACKAGE_JSON_C
help
Next Version of the ubus daemon programs.
IPC/RPC bus that allows communication between processes.
It consists of few parts including a daemon (ubusd), a library
(libubus) and a command line interface (ubus). Although created
for the OpenWRT project, it can be used as a general IPC/RPC
mechanism in other projects.
* Select BR2_PACKAGE_LUA_5_1 if you want to have Lua support.
https://wiki.openwrt.org/doc/techref/ubus

View File

@@ -6,7 +6,7 @@
UBUS_VERSION:= 2017.01.22
UBUS_SITE = $(TOPDIR)/../../src/3P/ubus/builders/cmake
UBUS_SITE = $(TOPDIR)/../../src/3P/ubus
UBUS_SITE_METHOD = local
UBUS_INSTALL_STAGING = YES

View File

@@ -6,7 +6,7 @@
UCI_VERSION:= 2016.07.04
UCI_SITE = $(TOPDIR)/../../src/3P/uci/builders/cmake
UCI_SITE = $(TOPDIR)/../../src/3P/uci
UCI_SITE_METHOD = local
UCI_INSTALL_STAGING = YES
@@ -14,6 +14,8 @@ UCI_DEPENDENCIES = libubox ubus
UCI_CONF = SRC_DIR=$(TOPDIR)/../..
UCI_CONF_OPTS +=-DBUILD_LUA=OFF
UCI_CONF_ENV = $(UCI_CONF)
UCI_MAKE_ENV = $(UCI_CONF)
UCI_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)