summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc/dtc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc.inc')
-rw-r--r--meta/recipes-kernel/dtc/dtc.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
new file mode 100644
index 0000000000..95023b6e97
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -0,0 +1,20 @@
1SUMMARY = "Device Tree Compiler"
2DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
3SECTION = "bootloader"
4LICENSE = "GPLv2 | BSD"
5DEPENDS = "flex-native bison-native"
6
7inherit autotools-brokensep
8
9SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
10 file://make_install.patch \
11 "
12
13EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"'
14
15S = "${WORKDIR}/git"
16
17PACKAGES =+ "${PN}-misc"
18FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
19
20RDEPENDS_${PN}-misc += "bash"