diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-05-24 14:55:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-01 18:34:33 +0100 |
commit | c1b6e65a4b7ac58787281fd7f309a2f5e8a9a2de (patch) | |
tree | 3ef88821f4c6e677b5ce42c3892b85604caabed7 /meta/recipes-kernel | |
parent | fe961289fcee783b7de945170f3df2e5ea72d11e (diff) | |
download | poky-c1b6e65a4b7ac58787281fd7f309a2f5e8a9a2de.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc-native.inc | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc-native_git.bb | 5 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc.inc | 8 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.bb | 15 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.inc | 8 |
6 files changed, 21 insertions, 20 deletions
diff --git a/meta/recipes-kernel/dtc/dtc-native.inc b/meta/recipes-kernel/dtc/dtc-native.inc deleted file mode 100644 index 1da7004316..0000000000 --- a/meta/recipes-kernel/dtc/dtc-native.inc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require dtc.inc | ||
2 | |||
3 | inherit native | ||
diff --git a/meta/recipes-kernel/dtc/dtc-native_git.bb b/meta/recipes-kernel/dtc/dtc-native_git.bb deleted file mode 100644 index fd5bde5765..0000000000 --- a/meta/recipes-kernel/dtc/dtc-native_git.bb +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
2 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" | ||
3 | |||
4 | require dtc-native.inc | ||
5 | require dtc_git.inc | ||
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc index e068df3c73..cfed15a4c5 100644 --- a/meta/recipes-kernel/dtc/dtc.inc +++ b/meta/recipes-kernel/dtc/dtc.inc | |||
@@ -2,7 +2,7 @@ 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." | 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" | 3 | SECTION = "bootloader" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL2 | BSD" |
6 | DEPENDS = "flex-native bison-native" | 6 | DEPENDS = "flex-native bison-native" |
7 | 7 | ||
8 | inherit autotools | 8 | inherit autotools |
@@ -11,3 +11,9 @@ do_install() { | |||
11 | install -m 0755 -d ${D}${bindir} | 11 | install -m 0755 -d ${D}${bindir} |
12 | install -m 755 dtc ${D}${bindir}/dtc | 12 | install -m 755 dtc ${D}${bindir}/dtc |
13 | } | 13 | } |
14 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \ | ||
15 | file://fix_for_compilation_with_gcc_4.6.0.patch" | ||
16 | |||
17 | INC_PR = "r0" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
diff --git a/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch index 805bf58796..8c26deca35 100644 --- a/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch +++ b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | |||
@@ -1,5 +1,7 @@ | |||
1 | Remove the -Os flag | 1 | Remove the -Os flag |
2 | 2 | ||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | 5 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
4 | Index: git/Makefile | 6 | Index: git/Makefile |
5 | =================================================================== | 7 | =================================================================== |
diff --git a/meta/recipes-kernel/dtc/dtc_git.bb b/meta/recipes-kernel/dtc/dtc_git.bb index 1cca32cedb..e010488dd8 100644 --- a/meta/recipes-kernel/dtc/dtc_git.bb +++ b/meta/recipes-kernel/dtc/dtc_git.bb | |||
@@ -1,7 +1,16 @@ | |||
1 | require dtc.inc | 1 | require dtc.inc |
2 | require dtc_git.inc | 2 | |
3 | LICENSE="GPLv2|BSD" | ||
4 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | 3 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ |
5 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" | 4 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" |
6 | 5 | ||
7 | SRC_URI += " file://remove_space_opt.patch" | 6 | SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a" |
7 | PV = "1.3.0+git${SRCPV}" | ||
8 | PR = "${INC_PR}.0" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | SRC_URI_PATCH = " file://remove_space_opt.patch" | ||
13 | SRC_URI_PATCH_virtclass-native = "" | ||
14 | SRC_URI += "${SRC_URI_PATCH}" | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-kernel/dtc/dtc_git.inc b/meta/recipes-kernel/dtc/dtc_git.inc deleted file mode 100644 index 2400cfe52f..0000000000 --- a/meta/recipes-kernel/dtc/dtc_git.inc +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \ | ||
2 | file://fix_for_compilation_with_gcc_4.6.0.patch" | ||
3 | |||
4 | SRCREV = "73dca9ae0b9abe6924ba640164ecce9f8df69c5a" | ||
5 | PV = "1.2.0+git${SRCPV}" | ||
6 | PR = "r3" | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||