diff options
-rw-r--r-- | packages/dtc/dtc_20070216.bb | 15 | ||||
-rw-r--r-- | packages/dtc/dtc_git.bb | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/dtc/dtc_20070216.bb b/packages/dtc/dtc_20070216.bb new file mode 100644 index 0000000000..476a84eba8 --- /dev/null +++ b/packages/dtc/dtc_20070216.bb @@ -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 index 0000000000..e8523173a1 --- /dev/null +++ b/packages/dtc/dtc_git.bb @@ -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 +} |