dtc: Add cross-compiled version, thanks to timtimred
authorOyvind Repvik <nail@nslu2-linux.org>
Sun, 18 Mar 2007 11:03:51 +0000 (11:03 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Sun, 18 Mar 2007 11:03:51 +0000 (11:03 +0000)
packages/dtc/dtc_20070216.bb [new file with mode: 0644]
packages/dtc/dtc_git.bb [new file with mode: 0644]

diff --git a/packages/dtc/dtc_20070216.bb b/packages/dtc/dtc_20070216.bb
new file mode 100644 (file)
index 0000000..476a84e
--- /dev/null
@@ -0,0 +1,15 @@
+DESCRIPTION = "dtc tool"
+SECTION = "bootloader"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+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
new file mode 100644 (file)
index 0000000..e852317
--- /dev/null
@@ -0,0 +1,15 @@
+DESCRIPTION = "dtc tool"
+SECTION = "bootloader"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+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
+}