diff options
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc.inc')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc.inc | 20 |
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 @@ | |||
1 | SUMMARY = "Device Tree Compiler" | ||
2 | DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels." | ||
3 | SECTION = "bootloader" | ||
4 | LICENSE = "GPLv2 | BSD" | ||
5 | DEPENDS = "flex-native bison-native" | ||
6 | |||
7 | inherit autotools-brokensep | ||
8 | |||
9 | SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \ | ||
10 | file://make_install.patch \ | ||
11 | " | ||
12 | |||
13 | EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"' | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | PACKAGES =+ "${PN}-misc" | ||
18 | FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | ||
19 | |||
20 | RDEPENDS_${PN}-misc += "bash" | ||