mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
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:
committed by
Richard Purdie
parent
c541b598c8
commit
6cbc2c3b56
3
meta/recipes-kernel/dtc/dtc-native.inc
Normal file
3
meta/recipes-kernel/dtc/dtc-native.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
require dtc.inc
|
||||
|
||||
inherit native
|
||||
2
meta/recipes-kernel/dtc/dtc-native_git.bb
Normal file
2
meta/recipes-kernel/dtc/dtc-native_git.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require dtc-native.inc
|
||||
require dtc_git.inc
|
||||
12
meta/recipes-kernel/dtc/dtc.inc
Normal file
12
meta/recipes-kernel/dtc/dtc.inc
Normal 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
|
||||
}
|
||||
2
meta/recipes-kernel/dtc/dtc_git.bb
Normal file
2
meta/recipes-kernel/dtc/dtc_git.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require dtc.inc
|
||||
require dtc_git.inc
|
||||
6
meta/recipes-kernel/dtc/dtc_git.inc
Normal file
6
meta/recipes-kernel/dtc/dtc_git.inc
Normal 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"
|
||||
Reference in New Issue
Block a user