aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-12-27 18:18:43 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-07 12:47:09 +0100
commit4c0180c496211ea9a5024a1e3a1be1b935f4cfb3 (patch)
tree3e69cd7da4fa74851f3cc83a4343e52eed214067
parent2d2b821bdbe2999e340f0bee79c68c86f141e7e9 (diff)
libosmocore: Use PACKAGECONFIG to enable gnutls and libsctp supportpespin/201705
-rw-r--r--recipes-osmocom/libosmocore/libosmocore.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-osmocom/libosmocore/libosmocore.inc b/recipes-osmocom/libosmocore/libosmocore.inc
index e5b34ae..40a42bc 100644
--- a/recipes-osmocom/libosmocore/libosmocore.inc
+++ b/recipes-osmocom/libosmocore/libosmocore.inc
@@ -6,11 +6,15 @@ INC_PR="r2.${META_TELEPHONY_OSMO_INC}"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-DEPENDS = "libtalloc gnutls lksctp-tools"
+DEPENDS = "libtalloc"
PACKAGECONFIG ??= "\
+ gnutls \
libusb \
+ libsctp \
"
+PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls,"
PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb,"
+PACKAGECONFIG[libsctp] = "--enable-libsctp,--disable-libsctp,lksctp-tools,"
inherit autotools pkgconfig