2024-09-09 08:52:07 +00:00
|
|
|
SUMMARY = "Device Tree Compiler"
|
|
|
|
DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
|
|
|
|
SECTION = "bootloader"
|
2024-09-09 08:57:42 +00:00
|
|
|
LICENSE = "GPLv2 | BSD"
|
2024-09-09 08:52:07 +00:00
|
|
|
DEPENDS = "flex-native bison-native"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
|
2024-09-09 08:52:07 +00:00
|
|
|
file://make_install.patch \
|
|
|
|
"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"'
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
do_install () {
|
|
|
|
oe_runmake install
|
|
|
|
}
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
PACKAGES =+ "${PN}-misc"
|
|
|
|
FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
|
2024-09-09 08:57:42 +00:00
|
|
|
|
|
|
|
RDEPENDS_${PN}-misc += "bash"
|