dtc: device tree compiler recipes

* Device tree compiler recipes from OE
* v2 reorder patchset
* remove BBCLASSEXTENDDED from dtc-native.inc
* v3 remove installing dtc in ${STAGING_BINDIR}
* fix PR variable follow Poky guidelines
* v4 fix PV variable

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Adrian Alonso 2010-09-09 09:26:00 -05:00 committed by Richard Purdie
parent c541b598c8
commit 6cbc2c3b56
5 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,3 @@
require dtc.inc
inherit native

View File

@ -0,0 +1,2 @@
require dtc-native.inc
require dtc_git.inc

View File

@ -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"
DEPENDS = "flex-native bison-native"
inherit autotools
do_install() {
install -m 0755 -d ${D}${bindir}
install -m 755 dtc ${D}${bindir}/dtc
}

View File

@ -0,0 +1,2 @@
require dtc.inc
require dtc_git.inc

View File

@ -0,0 +1,6 @@
SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a"
PV = "1.2.0+git${SRCPV}"
PR = "r1"
S = "${WORKDIR}/git"