From: Sebastian Pipping Date: Mon, 29 Nov 2010 09:26:58 +0000 (+0100) Subject: Add patch allowing compilation of busybox 1.7.4 with make 3.82 (bug #341943) X-Git-Tag: v3.4.10.908~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9768b0b2b025da6bafe7a667f791dcdf4a11656;p=genkernel.git Add patch allowing compilation of busybox 1.7.4 with make 3.82 (bug #341943) --- diff --git a/patches/busybox/1.7.4/1.7.4-make-3.82.diff b/patches/busybox/1.7.4/1.7.4-make-3.82.diff new file mode 100644 index 0000000..0559761 --- /dev/null +++ b/patches/busybox/1.7.4/1.7.4-make-3.82.diff @@ -0,0 +1,42 @@ +From d508d972c7f808eec5139255f661d37817c79260 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Mon, 29 Nov 2010 09:52:22 +0100 +Subject: [PATCH] Split implicit and normal rules for make 3.82 + +--- + Makefile | 12 ++++++++++-- + 1 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index c1fe21b..a2bfe4b 100644 +--- Makefile ++++ Makefile +@@ -402,7 +402,12 @@ ifeq ($(config-targets),1) + -include $(srctree)/arch/$(ARCH)/Makefile + export KBUILD_DEFCONFIG + +-config %config: scripts_basic outputmakefile FORCE ++config: scripts_basic outputmakefile FORCE ++ $(Q)mkdir -p include ++ $(Q)$(MAKE) $(build)=scripts/kconfig $@ ++ $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease ++ ++%config: scripts_basic outputmakefile FORCE + $(Q)mkdir -p include + $(Q)$(MAKE) $(build)=scripts/kconfig $@ + $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease +@@ -1239,7 +1244,10 @@ endif + $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) + + # Modules +-/ %/: prepare scripts FORCE ++/: prepare scripts FORCE ++ $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ ++ $(build)=$(build-dir) ++%/: prepare scripts FORCE + $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ + $(build)=$(build-dir) + %.ko: prepare scripts FORCE +-- +1.7.3.2 +