[Buildroot] [PATCH v2] libubox: enable static build
Rahul Jain
Rahul.Jain at imgtec.com
Wed Mar 29 10:51:00 UTC 2017
upstream has added the support to build the static libraries.
update comment for BR2_STATIC_LIBS for other packages having
dependency on libubox.
Signed-off-by: Rahul Jain <Rahul.Jain at imgtec.com>
---
Changes V1 - V2:
- Add comments in ubus and ustream-ssl Config.in file for
!BR2_STATIC_LIBS
package/libubox/Config.in | 4 ----
package/ubus/Config.in | 2 +-
package/ustream-ssl/Config.in | 2 +-
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/package/libubox/Config.in b/package/libubox/Config.in
index 25ef4bb..ba10f8d 100644
--- a/package/libubox/Config.in
+++ b/package/libubox/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_LIBUBOX
bool "libubox"
- depends on !BR2_STATIC_LIBS
help
This library originates from the OpenWrt project to
handle the configuration file infrastructure, but can
@@ -8,6 +7,3 @@ config BR2_PACKAGE_LIBUBOX
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
diff --git a/package/ubus/Config.in b/package/ubus/Config.in
index c14f6a8..15aac37 100644
--- a/package/ubus/Config.in
+++ b/package/ubus/Config.in
@@ -7,7 +7,7 @@ config BR2_PACKAGE_UBUS
select BR2_PACKAGE_LIBUBOX
select BR2_PACKAGE_JSON_C
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
- depends on !BR2_STATIC_LIBS # libubox
+ depends on !BR2_STATIC_LIBS # no support to build static libraries
help
IPC/RPC bus that allows communication between processes.
diff --git a/package/ustream-ssl/Config.in b/package/ustream-ssl/Config.in
index 540e436..7e9726f 100644
--- a/package/ustream-ssl/Config.in
+++ b/package/ustream-ssl/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_USTREAM_SSL
bool "ustream-ssl"
- depends on !BR2_STATIC_LIBS #libubox
+ depends on !BR2_STATIC_LIBS # no support to build static libraries
select BR2_PACKAGE_LIBUBOX
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
help
--
2.6.2
More information about the buildroot
mailing list