[oe-commits] Holger Hans Peter Freyther : openbsc: Switch to INC_PR and include file

git version control git at git.openembedded.org
Sun Dec 20 10:06:26 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 685833e6db36d4a812b993f4413bc0e0f0ab36e7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=685833e6db36d4a812b993f4413bc0e0f0ab36e7

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Sun Dec 20 12:38:55 2009 +0800

openbsc: Switch to INC_PR and include file

---

 recipes/openbsc/openbsc.inc    |    9 +++++++++
 recipes/openbsc/openbsc_git.bb |   11 +++--------
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/recipes/openbsc/openbsc.inc b/recipes/openbsc/openbsc.inc
new file mode 100644
index 0000000..bb51e2b
--- /dev/null
+++ b/recipes/openbsc/openbsc.inc
@@ -0,0 +1,9 @@
+DESCRITOPN = "OpenBSC a Free Software GSM BaseStationController"
+DEPENDS = "libdbi"
+HOMEPAGE = "http://openbsc.gnumonks.org"
+
+RDEPENDS = "libdbd-sqlite3"
+
+INC_PR="r0"
+
+inherit autotools
diff --git a/recipes/openbsc/openbsc_git.bb b/recipes/openbsc/openbsc_git.bb
index 68f129e..cc3d347 100644
--- a/recipes/openbsc/openbsc_git.bb
+++ b/recipes/openbsc/openbsc_git.bb
@@ -1,12 +1,7 @@
-DESCRITOPN = "OpenBSC a Free Software GSM BaseStationController"
-DEPENDS = "libdbi"
-HOMEPAGE = "http://openbsc.gnumonks.org"
-
-RDEPENDS = "libdbd-sqlite3"
+require ${PN}.inc
 
+S = "${WORKDIR}/git/openbsc"
 SRC_URI = "git://bs11-abis.gnumonks.org/openbsc.git;protocol=git"
 PV = "0.0.1.1+gitr${SRCREV}"
+PR = "${INC_PR}.1"
 
-S = "${WORKDIR}/git/openbsc"
-
-inherit autotools





More information about the Openembedded-commits mailing list