Pau Espin Pedrol has submitted this change and it was merged.

Change subject: osmo-sgsn: Enable iu support based on DISTRO_FEATURES
......................................................................


osmo-sgsn: Enable iu support based on DISTRO_FEATURES

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

Approvals:
  Pau Espin Pedrol: Verified
  Harald Welte: Looks good to me, approved



diff --git a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc 
b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
index 382965f..77029a0 100644
--- a/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
+++ b/recipes-osmocom/osmo-sgsn/osmo-sgsn.inc
@@ -3,13 +3,14 @@
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
 
-DEPENDS = "c-ares libpcap libasn1c libosmocore libosmo-netif libosmo-sccp 
osmo-iuh osmo-ggsn"
+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: merged
Gerrit-Change-Id: Ifd8068d61aeea228dd24c54df6e1ce87bfcafff5
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to