[PATCH] meta-telephony[201705]: osmo-sgsn: Enable iu support based on DISTRO_FEATURES

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Oct 18 10:02:02 UTC 2017


Review at  https://gerrit.osmocom.org/4332

osmo-sgsn: Enable iu support based on DISTRO_FEATURES

Change-Id: Ifd8068d61aeea228dd24c54df6e1ce87bfcafff5
---
M recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/32/4332/1

diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
index 5e2fa13..77029a0 100644
--- a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
+++ b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
@@ -5,11 +5,12 @@
 
 DEPENDS = "c-ares libpcap libosmocore libosmo-netif libosmo-sccp osmo-ggsn"
 
-INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
+INC_PR="r2.${META_TELEPHONY_OSMO_INC}"
 
 inherit autotools pkgconfig systemd
 
-EXTRA_OECONF += "--enable-iu"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'iu', d)}"
+PACKAGECONFIG[iu] = "--enable-iu,--disable-iu,libasn1c osmo-iuh,"
 
 do_install_append() {
 	install -d ${D}${systemd_system_unitdir}/

-- 
To view, visit https://gerrit.osmocom.org/4332
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd8068d61aeea228dd24c54df6e1ce87bfcafff5
Gerrit-PatchSet: 1
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>


More information about the gerrit-log mailing list