summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-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