summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@witty.(none)>2009-01-06 17:06:14 +0100
committerLeon Woestenberg <leon@witty.(none)>2009-01-06 17:07:17 +0100
commit7a9edc3215b693073101e2691aefb93804493336 (patch)
tree6391075f24153332314e478a0f290b6e9ab57eb1
parente625b67830de99dc50610802c9412bd92baced46 (diff)
dtc: Add 1.2.0 and use -native.inc and .inc files.
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/dtc/dtc-native.inc8
-rw-r--r--packages/dtc/dtc-native_1.1.0.bb12
-rw-r--r--packages/dtc/dtc-native_1.2.0.bb8
-rw-r--r--packages/dtc/dtc-native_20070216.bb10
-rw-r--r--packages/dtc/dtc-native_git.bb10
-rw-r--r--packages/dtc/dtc.inc12
-rw-r--r--packages/dtc/dtc_1.1.0.bb13
-rw-r--r--packages/dtc/dtc_1.2.0.bb10
-rw-r--r--packages/dtc/dtc_20070216.bb13
-rw-r--r--packages/dtc/dtc_git.bb13
11 files changed, 53 insertions, 60 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index a4f73572a4..633c8af8b2 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -4206,6 +4206,10 @@ sha256=dd687b4f691bf9970f53ca2c84d8481b9f82d857de347375d29bacf648b8da71
md5=46bcff355b60d85bd311fc95b9ff0630
sha256=786f8a128394f978ee66b18b41cdfc87d74eea80f5b8e25beacc5e669c76d5e1
+[http://www.jdl.com/software/dtc-v1.2.0.tgz]
+md5=0f1841de79abbff57691adc31d5f3525
+sha256=dabbe5a77ffcffd906333589a75013e4b40113238b6b09f7f2ad280ba3bb6a1c
+
[http://www.dtnrg.org/docs/code/dtn_2.5.0.tgz]
md5=e6e608907a291016a39c9e3442dfd50c
sha256=d8c6dedb4f828c90c1c0f36c35bc4539e81e2220c8b01cd5dc957f9116b4e478
diff --git a/packages/dtc/dtc-native.inc b/packages/dtc/dtc-native.inc
new file mode 100644
index 0000000000..838845864d
--- /dev/null
+++ b/packages/dtc/dtc-native.inc
@@ -0,0 +1,8 @@
+require dtc.inc
+
+inherit native
+
+do_stage() {
+ install -m 755 dtc ${STAGING_BINDIR}/dtc
+}
+
diff --git a/packages/dtc/dtc-native_1.1.0.bb b/packages/dtc/dtc-native_1.1.0.bb
index 043e601328..650ba2c9f1 100644
--- a/packages/dtc/dtc-native_1.1.0.bb
+++ b/packages/dtc/dtc-native_1.1.0.bb
@@ -1,16 +1,6 @@
-DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
-
-DEFAULT_PREFERENCE = "1"
+require dtc-native.inc
SRC_URI = "http://www.jdl.com/software/dtc-v${PV}.tgz"
S = "${WORKDIR}/dtc-v${PV}"
-inherit autotools native
-
-do_stage() {
- install -m 755 dtc ${STAGING_BINDIR}/dtc
-}
diff --git a/packages/dtc/dtc-native_1.2.0.bb b/packages/dtc/dtc-native_1.2.0.bb
new file mode 100644
index 0000000000..7d90b2670b
--- /dev/null
+++ b/packages/dtc/dtc-native_1.2.0.bb
@@ -0,0 +1,8 @@
+require dtc-native.inc
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "http://www.jdl.com/software/dtc-v${PV}.tgz"
+
+S = "${WORKDIR}/dtc-v${PV}"
+
diff --git a/packages/dtc/dtc-native_20070216.bb b/packages/dtc/dtc-native_20070216.bb
index 8d8cf517a0..7087444823 100644
--- a/packages/dtc/dtc-native_20070216.bb
+++ b/packages/dtc/dtc-native_20070216.bb
@@ -1,14 +1,6 @@
-DESCRIPTION = "dtc tool"
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require dtc-native.inc
SRC_URI = "http://www.jdl.com/pub/software/dtc-${PV}.tgz"
S = "${WORKDIR}/dtc"
-inherit autotools native
-
-do_stage() {
- install -m 755 dtc ${STAGING_BINDIR}/dtc
-}
diff --git a/packages/dtc/dtc-native_git.bb b/packages/dtc/dtc-native_git.bb
index 9ef9292e92..9c93a4a1fa 100644
--- a/packages/dtc/dtc-native_git.bb
+++ b/packages/dtc/dtc-native_git.bb
@@ -1,14 +1,6 @@
-DESCRIPTION = "dtc tool"
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require dtc-native.inc
SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
S = "${WORKDIR}/git"
-inherit autotools native
-
-do_stage() {
- install -m 755 dtc ${STAGING_BINDIR}/dtc
-}
diff --git a/packages/dtc/dtc.inc b/packages/dtc/dtc.inc
new file mode 100644
index 0000000000..4bf1bc8ed1
--- /dev/null
+++ b/packages/dtc/dtc.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
+SECTION = "bootloader"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+inherit autotools
+
+do_install() {
+ install -m 0755 -d ${D}${bindir}
+ install -m 755 dtc ${D}${bindir}/dtc
+}
+
diff --git a/packages/dtc/dtc_1.1.0.bb b/packages/dtc/dtc_1.1.0.bb
index 933716dcc8..7cdccec066 100644
--- a/packages/dtc/dtc_1.1.0.bb
+++ b/packages/dtc/dtc_1.1.0.bb
@@ -1,17 +1,8 @@
-DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require dtc.inc
-DEFAULT_PREFERENCE = "1"
+PR = "r1"
SRC_URI = "http://www.jdl.com/software/dtc-v${PV}.tgz"
S = "${WORKDIR}/dtc-v${PV}"
-inherit autotools
-
-do_install() {
- install -m 0755 -d ${D}${bindir}
- install -m 755 dtc ${D}${bindir}/dtc
-}
diff --git a/packages/dtc/dtc_1.2.0.bb b/packages/dtc/dtc_1.2.0.bb
new file mode 100644
index 0000000000..a1feeb75be
--- /dev/null
+++ b/packages/dtc/dtc_1.2.0.bb
@@ -0,0 +1,10 @@
+require dtc.inc
+
+PR = "r0"
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "http://www.jdl.com/software/dtc-v${PV}.tgz"
+
+S = "${WORKDIR}/dtc-v${PV}"
+
diff --git a/packages/dtc/dtc_20070216.bb b/packages/dtc/dtc_20070216.bb
index 476a84eba8..8e66b4fc54 100644
--- a/packages/dtc/dtc_20070216.bb
+++ b/packages/dtc/dtc_20070216.bb
@@ -1,15 +1,8 @@
-DESCRIPTION = "dtc tool"
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require dtc.inc
+
+PR = "r1"
SRC_URI = "http://www.jdl.com/pub/software/dtc-${PV}.tgz"
S = "${WORKDIR}/dtc"
-inherit autotools
-
-do_install() {
- install -m 0755 -d ${D}${bindir}
- install -m 755 dtc ${D}${bindir}/dtc
-}
diff --git a/packages/dtc/dtc_git.bb b/packages/dtc/dtc_git.bb
index e8523173a1..638d472898 100644
--- a/packages/dtc/dtc_git.bb
+++ b/packages/dtc/dtc_git.bb
@@ -1,15 +1,8 @@
-DESCRIPTION = "dtc tool"
-SECTION = "bootloader"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require dtc.inc
+
+PR = "r1"
SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
S = "${WORKDIR}/git"
-inherit autotools
-
-do_install() {
- install -m 0755 -d ${D}${bindir}
- install -m 755 dtc ${D}${bindir}/dtc
-}