diff options
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.patch | 36 |
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 @@ | |||
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 | ||