blob: d75994661a619d98c98728401ed6ae120c43ca64 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Device Tree Compiler"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002HOMEPAGE = "https://devicetree.org/"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
4SECTION = "bootloader"
5LICENSE = "GPLv2 | BSD"
6DEPENDS = "flex-native bison-native"
7
8SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
9 file://make_install.patch \
10 "
11
12EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"'
13
14S = "${WORKDIR}/git"
15
16do_install () {
17 oe_runmake install
18}
19
20PACKAGES =+ "${PN}-misc"
21FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
22
23RDEPENDS_${PN}-misc += "bash"