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