blob: 7a923bf5206bd952eafd4361d1b1daf32724a892 [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 \
Brad Bishop316dfdd2018-06-25 12:45:53 -040010 "
11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
Brad Bishop316dfdd2018-06-25 12:45:53 -040013EXTRA_OEMAKE='NO_PYTHON=1 PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
15S = "${WORKDIR}/git"
16
17do_install () {
18 oe_runmake install
19}
20
21PACKAGES =+ "${PN}-misc"
22FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
23
Brad Bishop316dfdd2018-06-25 12:45:53 -040024RDEPENDS_${PN}-misc += "bash diffutils"