dtc: Cleanup and update recipe
(From OE-Core rev: 22988891bd66f4e65ba47b7e5eb261da281e6cba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fe961289fc
commit
c1b6e65a4b
|
@ -1,3 +0,0 @@
|
|||
require dtc.inc
|
||||
|
||||
inherit native
|
|
@ -1,5 +0,0 @@
|
|||
LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
|
||||
|
||||
require dtc-native.inc
|
||||
require dtc_git.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"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
Remove the -Os flag
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||
Index: git/Makefile
|
||||
===================================================================
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
require dtc.inc
|
||||
require dtc_git.inc
|
||||
LICENSE="GPLv2|BSD"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
|
||||
|
||||
SRC_URI += " file://remove_space_opt.patch"
|
||||
SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a"
|
||||
PV = "1.3.0+git${SRCPV}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI_PATCH = " file://remove_space_opt.patch"
|
||||
SRC_URI_PATCH_virtclass-native = ""
|
||||
SRC_URI += "${SRC_URI_PATCH}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \
|
||||
file://fix_for_compilation_with_gcc_4.6.0.patch"
|
||||
|
||||
SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a"
|
||||
PV = "1.2.0+git${SRCPV}"
|
||||
PR = "r3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
Loading…
Reference in New Issue