summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-12-14 12:49:13 +0000
committerJoshua Lock <josh@linux.intel.com>2010-12-14 12:49:13 +0000
commit0f8244faba5c36c0580081c112ea27ce683af99b (patch)
tree09da7efa15e5a11818c53372e9e1a18c93854169 /meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch
parent0cc23a86562d0ce1e236ceb4a56a8f19d400192f (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers/make-382.patch36
1 files changed, 36 insertions, 0 deletions
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 @@
1Index: 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