openbsc: Switch to INC_PR and include file
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 20 Dec 2009 04:38:55 +0000 (12:38 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 20 Dec 2009 04:38:55 +0000 (12:38 +0800)
recipes/openbsc/openbsc.inc [new file with mode: 0644]
recipes/openbsc/openbsc_git.bb

diff --git a/recipes/openbsc/openbsc.inc b/recipes/openbsc/openbsc.inc
new file mode 100644 (file)
index 0000000..bb51e2b
--- /dev/null
@@ -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
index 68f129e..cc3d347 100644 (file)
@@ -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