diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-10-18 12:00:30 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-10-18 13:19:11 +0200 |
commit | 9592e9ad3ab9ad701b95873cac8a601aad277867 (patch) | |
tree | 176190a78d1ca4f086d3270e5646f3af82e26230 | |
parent | 46ab83e40f34baa8701846c5b55d3bc95bf9382d (diff) |
osmo-msc: Enable iu support based on DISTRO_FEATURES
Change-Id: Iaef50e96e80ef685748ddffa733ade84f5543eff
-rw-r--r-- | recipes-osmocom/osmo-msc/osmo-msc.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-osmocom/osmo-msc/osmo-msc.inc b/recipes-osmocom/osmo-msc/osmo-msc.inc index 829f947..9be747d 100644 --- a/recipes-osmocom/osmo-msc/osmo-msc.inc +++ b/recipes-osmocom/osmo-msc/osmo-msc.inc @@ -3,13 +3,15 @@ HOMEPAGE = "https://osmocom.org/projects/osmomsc" LICENSE = "AGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -DEPENDS = "libdbi libasn1c osmo-iuh libosmocore libosmo-abis libosmo-sccp libosmo-netif libsmpp34 osmo-mgw" +DEPENDS = "libdbi libosmocore libosmo-abis libosmo-sccp libosmo-netif osmo-mgw" -INC_PR="r1.${META_TELEPHONY_OSMO_INC}" +INC_PR="r2.${META_TELEPHONY_OSMO_INC}" inherit autotools pkgconfig systemd -EXTRA_OECONF += "--enable-smpp --enable-iu" +PACKAGECONFIG ??= "smpp ${@bb.utils.filter('DISTRO_FEATURES', 'iu', d)}" +PACKAGECONFIG[iu] = "--enable-iu,--disable-iu,libasn1c osmo-iuh," +PACKAGECONFIG[smpp] = "--enable-smpp,--disable-smpp,libsmpp34," RDEPENDS_${PN} = "libdbd-sqlite3" |