You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
From d508d972c7f808eec5139255f661d37817c79260 Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Pipping <sebastian@pipping.org>
|
|
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
|
|
|