summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-12 11:28:28 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-12 12:43:10 +0200
commita8e1e359fe7b1571dd51c8889f2d259868e4f59f (patch)
tree94b9ef473e1f48d0b7f5636396e3282c5131fba7 /recipes
parent937d318fe540f15d5e148c0cf8d5b270e2c575ab (diff)
dtc: add missing SRCREV, set PV, negative D_P
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/dtc/dtc-native_git.bb6
-rw-r--r--recipes/dtc/dtc_git.bb8
-rw-r--r--recipes/dtc/dtc_git.inc9
3 files changed, 11 insertions, 12 deletions
diff --git a/recipes/dtc/dtc-native_git.bb b/recipes/dtc/dtc-native_git.bb
index 9c93a4a1fa..2d6f09217f 100644
--- a/recipes/dtc/dtc-native_git.bb
+++ b/recipes/dtc/dtc-native_git.bb
@@ -1,6 +1,2 @@
require dtc-native.inc
-
-SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
-
-S = "${WORKDIR}/git"
-
+require dtc_git.inc
diff --git a/recipes/dtc/dtc_git.bb b/recipes/dtc/dtc_git.bb
index 638d472898..a17a39d527 100644
--- a/recipes/dtc/dtc_git.bb
+++ b/recipes/dtc/dtc_git.bb
@@ -1,8 +1,2 @@
require dtc.inc
-
-PR = "r1"
-
-SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
-
-S = "${WORKDIR}/git"
-
+require dtc_git.inc
diff --git a/recipes/dtc/dtc_git.inc b/recipes/dtc/dtc_git.inc
new file mode 100644
index 0000000000..ded44f6c8c
--- /dev/null
+++ b/recipes/dtc/dtc_git.inc
@@ -0,0 +1,9 @@
+SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
+SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a"
+PV = "1.2.0"
+PR = "r1"
+PR_append = "+gitr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+S = "${WORKDIR}/git"