summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/dtc/dtc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc.inc')
-rw-r--r--meta/recipes-kernel/dtc/dtc.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index e068df3c7..cfed15a4c 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -2,7 +2,7 @@ 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"
PRIORITY = "optional"
-LICENSE = "GPL"
+LICENSE = "GPL2 | BSD"
DEPENDS = "flex-native bison-native"
inherit autotools
@@ -11,3 +11,9 @@ 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"