blob: 0c409b0c0b1fdee8d92c31ed4a9fbf431ad22ee1 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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
7SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
8 file://make_install.patch \
9 "
10
11EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"'
12
13S = "${WORKDIR}/git"
14
15do_install () {
16 oe_runmake install
17}
18
19PACKAGES =+ "${PN}-misc"
20FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
21
22RDEPENDS_${PN}-misc += "bash"