aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-02-27 09:27:29 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-02-27 09:27:29 +0100
commit0f016bb89e8c06f293dffaacdd325ca77ab9fc85 (patch)
treee9000f350d890482f2b3413732a18ec692e1ac5a
parentaa458a136ebd4abc55d502984b5c90ddab458288 (diff)
libosmocore: Split the package into one package per library
This will allow us to have multiple versions installed at the same time. Use a HACK to not have package.bbclass renamed the RREPLACE we need for the upgrade. Fixes: SYS#217
-rw-r--r--recipes-osmocom/libosmocore/libosmocore_git.bb18
1 files changed, 16 insertions, 2 deletions
diff --git a/recipes-osmocom/libosmocore/libosmocore_git.bb b/recipes-osmocom/libosmocore/libosmocore_git.bb
index 9101886..e482f8c 100644
--- a/recipes-osmocom/libosmocore/libosmocore_git.bb
+++ b/recipes-osmocom/libosmocore/libosmocore_git.bb
@@ -4,9 +4,23 @@ S = "${WORKDIR}/git"
SRCREV = "70fcbda6dd733a503e9a046e01986d8bfc2e2bb2"
SRC_URI = "git://git.osmocom.org/libosmocore.git;protocol=git;nobranch=1"
PV = "0.9.0+gitr${SRCPV}"
-PR = "r0"
+PR = "r1"
-PACKAGES =+ "libosmoctrl"
+PACKAGES =+ "libosmoctrl libosmocodec libosmogb libosmogsm libosmovty osmo-arfcn osmo-auc-gen"
FILES_libosmoctrl = "${libdir}/libosmoctrl${SOLIBS}"
+FILES_libosmocodec = "${libdir}/libosmocodec${SOLIBS}"
+FILES_libosmogb = "${libdir}/libosmogb${SOLIBS}"
+FILES_libosmogsm = "${libdir}/libosmogsm${SOLIBS}"
+FILES_libosmovty = "${libdir}/libosmovty${SOLIBS}"
+FILES_osmo-arfcn = "${bindir}/osmo-arfcn"
+FILES_osmo-auc-gen = "${bindir}/osmo-auc-gen"
+
+# Requires fix for upgrades
+RREPLACES_libosmocore = "DONOTREPLACElibosmocore"
+RREPLACES_libosmoctrl = "DONOTREPLACElibosmocore"
+RREPLACES_libosmocodec = "DONOTREPLACElibosmocore"
+RREPLACES_libosmogb = "DONOTREPLACElibosmocore"
+RREPLACES_libosmogsm = "DONOTREPLACElibosmocore"
+RREPLACES_libosmovty = "DONOTREPLACElibosmocore"
EXTRA_OECONF += "--disable-pcsc"