diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-12-14 12:49:13 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-12-14 12:49:13 +0000 |
commit | 0f8244faba5c36c0580081c112ea27ce683af99b (patch) | |
tree | 09da7efa15e5a11818c53372e9e1a18c93854169 | |
parent | 0cc23a86562d0ce1e236ceb4a56a8f19d400192f (diff) | |
download | poky-0f8244faba5c36c0580081c112ea27ce683af99b.tar.gz |
linux-libc-headers: fix for Make 3.82
Fix the kernel Makefile for use with Make 3.82 by splitting mixed implicit and
normal rules into separate rules.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
3 files changed, 42 insertions, 5 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch index 60072c7930..f26b99b092 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch | |||
@@ -14,8 +14,8 @@ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | |||
14 | 14 | ||
15 | Index: linux-2.6.34/include/linux/connector.h | 15 | Index: linux-2.6.34/include/linux/connector.h |
16 | =================================================================== | 16 | =================================================================== |
17 | --- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800 | 17 | --- linux-2.6.34.orig/include/linux/connector.h |
18 | +++ linux-2.6.34/include/linux/connector.h 2010-09-30 14:15:43.000000000 +0800 | 18 | +++ linux-2.6.34/include/linux/connector.h |
19 | @@ -48,7 +48,7 @@ | 19 | @@ -48,7 +48,7 @@ |
20 | /* | 20 | /* |
21 | * Maximum connector's message size. | 21 | * Maximum connector's message size. |
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch new file mode 100644 index 0000000000..5ffe2fedd3 --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Index: linux-2.6.34/arch/powerpc/Makefile | ||
2 | =================================================================== | ||
3 | --- linux-2.6.34.orig/arch/powerpc/Makefile | ||
4 | +++ linux-2.6.34/arch/powerpc/Makefile | ||
5 | @@ -158,9 +158,10 @@ drivers-$(CONFIG_OPROFILE) += arch/power | ||
6 | # Default to zImage, override when needed | ||
7 | all: zImage | ||
8 | |||
9 | -BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% treeImage.% cuImage.% simpleImage.% | ||
10 | +BOOT_TARGETS1 = zImage zImage.initrd uImage | ||
11 | +BOOT_TARGETS2 = zImage% dtbImage% treeImage.% cuImage.% simpleImage.% | ||
12 | |||
13 | -PHONY += $(BOOT_TARGETS) | ||
14 | +PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2) | ||
15 | |||
16 | boot := arch/$(ARCH)/boot | ||
17 | |||
18 | @@ -175,10 +176,16 @@ relocs_check: arch/powerpc/relocs_check. | ||
19 | zImage: relocs_check | ||
20 | endif | ||
21 | |||
22 | -$(BOOT_TARGETS): vmlinux | ||
23 | +$(BOOT_TARGETS1): vmlinux | ||
24 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
25 | |||
26 | -bootwrapper_install %.dtb: | ||
27 | +$(BOOT_TARGETS2): vmlinux | ||
28 | + $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
29 | + | ||
30 | +bootwrapper_install: | ||
31 | + $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
32 | + | ||
33 | +%.dtb: | ||
34 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
35 | |||
36 | define archhelp | ||
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb index 685b70a4a8..d62fa832a8 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb | |||
@@ -2,11 +2,12 @@ require linux-libc-headers.inc | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS += "unifdef-native" | 4 | DEPENDS += "unifdef-native" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | SRC_URI += "file://hayes-gone.patch \ | 7 | SRC_URI += "file://hayes-gone.patch \ |
8 | file://ppc_glibc_build_fix.patch \ | 8 | file://ppc_glibc_build_fix.patch \ |
9 | file://connector-msg-size-fix.patch" | 9 | file://make-382.patch \ |
10 | file://connector-msg-size-fix.patch" | ||
10 | 11 | ||
11 | S = "${WORKDIR}/linux-${PV}" | 12 | S = "${WORKDIR}/linux-${PV}" |
12 | 13 | ||