summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/dtc/dtc.inc
blob: eae46ac2d74cafbc727a886b1c6a0344c5d0f47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
LICENSE = "GPL2 | BSD"
DEPENDS = "flex-native bison-native"

inherit autotools

do_install() {
	install -m 0755 -d ${D}${bindir}
	install -m 755 dtc ${D}${bindir}/dtc
}
SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \
	file://fix_for_compilation_with_gcc_4.6.0.patch"

INC_PR = "r0"

S = "${WORKDIR}/git"