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>
This commit is contained in:
Joshua Lock 2010-12-14 12:49:13 +00:00
parent 0cc23a8656
commit 0f8244faba
3 changed files with 42 additions and 5 deletions

View File

@ -14,8 +14,8 @@ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Index: linux-2.6.34/include/linux/connector.h
===================================================================
--- linux-2.6.34.orig/include/linux/connector.h 2010-09-30 14:15:25.000000000 +0800
+++ linux-2.6.34/include/linux/connector.h 2010-09-30 14:15:43.000000000 +0800
--- linux-2.6.34.orig/include/linux/connector.h
+++ linux-2.6.34/include/linux/connector.h
@@ -48,7 +48,7 @@
/*
* Maximum connector's message size.

View File

@ -0,0 +1,36 @@
Index: linux-2.6.34/arch/powerpc/Makefile
===================================================================
--- linux-2.6.34.orig/arch/powerpc/Makefile
+++ linux-2.6.34/arch/powerpc/Makefile
@@ -158,9 +158,10 @@ drivers-$(CONFIG_OPROFILE) += arch/power
# Default to zImage, override when needed
all: zImage
-BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% treeImage.% cuImage.% simpleImage.%
+BOOT_TARGETS1 = zImage zImage.initrd uImage
+BOOT_TARGETS2 = zImage% dtbImage% treeImage.% cuImage.% simpleImage.%
-PHONY += $(BOOT_TARGETS)
+PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2)
boot := arch/$(ARCH)/boot
@@ -175,10 +176,16 @@ relocs_check: arch/powerpc/relocs_check.
zImage: relocs_check
endif
-$(BOOT_TARGETS): vmlinux
+$(BOOT_TARGETS1): vmlinux
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
-bootwrapper_install %.dtb:
+$(BOOT_TARGETS2): vmlinux
+ $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
+
+bootwrapper_install:
+ $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
+
+%.dtb:
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
define archhelp

View File

@ -2,11 +2,12 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
PR = "r1"
PR = "r2"
SRC_URI += "file://hayes-gone.patch \
file://ppc_glibc_build_fix.patch \
file://connector-msg-size-fix.patch"
file://ppc_glibc_build_fix.patch \
file://make-382.patch \
file://connector-msg-size-fix.patch"
S = "${WORKDIR}/linux-${PV}"