aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-12-20 12:38:55 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-12-20 12:38:55 +0800
commit685833e6db36d4a812b993f4413bc0e0f0ab36e7 (patch)
treed5ecb3e0060988238537faf525d87f7786b29023 /recipes/openbsc
parent2d054fa1b5ac98fe869f184994f69cf67083655b (diff)
downloadopenembedded-685833e6db36d4a812b993f4413bc0e0f0ab36e7.tar.gz
openbsc: Switch to INC_PR and include file
Diffstat (limited to 'recipes/openbsc')
-rw-r--r--recipes/openbsc/openbsc.inc9
-rw-r--r--recipes/openbsc/openbsc_git.bb11
2 files changed, 12 insertions, 8 deletions
diff --git a/recipes/openbsc/openbsc.inc b/recipes/openbsc/openbsc.inc
new file mode 100644
index 0000000000..bb51e2b80f
--- /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 68f129ea36..cc3d3470e5 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