summaryrefslogtreecommitdiff
path: root/packages/dtc
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 /packages/dtc
parente625b67830de99dc50610802c9412bd92baced46 (diff)
dtc: Add 1.2.0 and use -native.inc and .inc files.
Diffstat (limited to 'packages/dtc')
-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
10 files changed, 49 insertions, 60 deletions
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
-}