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