Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-backports-src > by-pkgid > e664f024d1ca9621bcfe4e9a32705da5 > files > 4

kernel-4.18.20-1.mga6.src.rpm


 Makefile                 |   17 +++++------------
 scripts/kconfig/Makefile |   21 ---------------------
 2 files changed, 5 insertions(+), 33 deletions(-)

diff -Nurp linux-4.18.4/Makefile linux-4.18.4-mrproper/Makefile
--- linux-4.18.4/Makefile	2018-08-23 19:17:06.348437185 +0300
+++ linux-4.18.4-mrproper/Makefile	2018-08-23 19:17:58.207394583 +0300
@@ -1040,9 +1040,7 @@ include/config/kernel.release: include/c
 # Carefully list dependencies so we do not try to build scripts twice
 # in parallel
 PHONY += scripts
-scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
-	 asm-generic gcc-plugins $(autoksyms_h)
-	$(Q)$(MAKE) $(build)=$(@)
+scripts:
 
 # Things we need to do before we recursively start building the kernel
 # or the modules are listed in "prepare".
@@ -1081,7 +1079,7 @@ prepare0: archprepare gcc-plugins
 	$(Q)$(MAKE) $(build)=.
 
 # All the preparing..
-prepare: prepare0 prepare-objtool
+prepare:
 
 # Support for using generic headers in asm-generic
 PHONY += asm-generic uapi-asm-generic
@@ -1276,13 +1274,8 @@ endif # CONFIG_MODULES
 CLEAN_DIRS  += $(MODVERDIR) include/ksym
 
 # Directories & files removed with 'make mrproper'
-MRPROPER_DIRS  += include/config usr/include include/generated          \
-		  arch/*/include/generated .tmp_objdiff
-MRPROPER_FILES += .config .config.old .version \
-		  Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
-		  signing_key.pem signing_key.priv signing_key.x509	\
-		  x509.genkey extra_certificates signing_key.x509.keyid	\
-		  signing_key.x509.signer vmlinux-gdb.py
+MRPROPER_DIRS  += ""
+MRPROPER_FILES += ""
 
 # clean - Delete most, but leave enough to build external modules
 #
@@ -1304,7 +1297,7 @@ clean: archclean vmlinuxclean
 #
 mrproper: rm-dirs  := $(wildcard $(MRPROPER_DIRS))
 mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
-mrproper-dirs      := $(addprefix _mrproper_,scripts)
+mrproper-dirs      := ""
 
 PHONY += $(mrproper-dirs) mrproper archmrproper
 $(mrproper-dirs):
diff -Nurp linux-4.18.4/scripts/kconfig/Makefile linux-4.18.4-mrproper/scripts/kconfig/Makefile
--- linux-4.18.4/scripts/kconfig/Makefile	2018-08-23 19:17:06.348437185 +0300
+++ linux-4.18.4-mrproper/scripts/kconfig/Makefile	2018-08-23 19:17:58.207394583 +0300
@@ -20,25 +20,18 @@ endif
 unexport CONFIG_
 
 xconfig: $(obj)/qconf 3rdparty/Makefile
-	$< $(silent) $(Kconfig)
 
 gconfig: $(obj)/gconf 3rdparty/Makefile
-	$< $(silent) $(Kconfig)
 	
 menuconfig: $(obj)/mconf 3rdparty/Makefile
-	$< $(silent) $(Kconfig)
 
 config: $(obj)/conf 3rdparty/Makefile
-	$< $(silent) --oldaskconfig $(Kconfig)
 
 nconfig: $(obj)/nconf 3rdparty/Makefile
-	$< $(silent) $(Kconfig)
 
 # This has become an internal implementation detail and is now deprecated
 # for external use.
 syncconfig: $(obj)/conf 3rdparty/Makefile
-	$(Q)mkdir -p include/config include/generated
-	$< $(silent) --$@ $(Kconfig)
 
 localyesconfig localmodconfig: $(obj)/conf 3rdparty/Makefile
 	$(Q)mkdir -p include/config include/generated
@@ -61,7 +54,6 @@ simple-targets := oldconfig allnoconfig
 PHONY += $(simple-targets)
 
 $(simple-targets): $(obj)/conf 3rdparty/Makefile
-	$< $(silent) --$@ $(Kconfig)
 
 PHONY += oldnoconfig silentoldconfig savedefconfig defconfig
 
@@ -80,23 +72,10 @@ silentoldconfig: syncconfig 3rdparty/Mak
 	@echo "            \"silentoldconfig\" will be removed after Linux 4.19"
 
 savedefconfig: $(obj)/conf 3rdparty/Makefile
-	$< $(silent) --$@=defconfig $(Kconfig)
 
 defconfig: $(obj)/conf 3rdparty/Makefile
-ifeq ($(KBUILD_DEFCONFIG),)
-	$< $(silent) --defconfig $(Kconfig)
-else
-ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
-	@$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
-	$(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
-else
-	@$(kecho) "*** Default configuration is based on target '$(KBUILD_DEFCONFIG)'"
-	$(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG)
-endif
-endif
 
 %_defconfig: $(obj)/conf 3rdparty/Makefile
-	$(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)
 
 configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/configs/$@)