Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > cbdaf51def5bfa7775e0237183d49fe6 > files > 3

kernel-linus-2.6.26.5-1mdv2008.1.src.rpm

diff -Nurp linux-2.6.26.orig/Makefile linux-2.6.26/Makefile
--- linux-2.6.26.orig/Makefile	2008-07-14 00:51:29.000000000 +0300
+++ linux-2.6.26/Makefile	2008-07-24 16:00:17.000000000 +0300
@@ -445,8 +445,9 @@ ifeq ($(KBUILD_EXTMOD),)
 # Carefully list dependencies so we do not try to build scripts twice
 # in parallel
 PHONY += scripts
-scripts: scripts_basic include/config/auto.conf
-	$(Q)$(MAKE) $(build)=$(@)
+#scripts: scripts_basic include/config/auto.conf
+#	$(Q)$(MAKE) $(build)=$(@)
+scripts:
 
 # Objects we will link into vmlinux / subdirs we need to visit
 init-y		:= init/
@@ -935,7 +936,8 @@ prepare0: archprepare FORCE
 	$(Q)$(MAKE) $(build)=. missing-syscalls
 
 # All the preparing..
-prepare: prepare0
+#prepare: prepare0
+prepare:
 
 # Leave this as default for preprocessing vmlinux.lds.S, which is now
 # done in arch/$(ARCH)/kernel/Makefile
@@ -1110,12 +1112,9 @@ CLEAN_FILES +=	vmlinux System.map \
                 .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
 
 # Directories & files removed with 'make mrproper'
-MRPROPER_DIRS  += include/config include2 usr/include
-MRPROPER_FILES += .config .config.old include/asm .version .old_version \
-                  include/linux/autoconf.h include/linux/version.h      \
-                  include/linux/utsrelease.h                            \
-                  include/linux/bounds.h include/asm*/asm-offsets.h     \
-		  Module.symvers tags TAGS cscope*
+# This is a -devel rpm, so we dont let mrproper remove anything /tmb 12.10.2007
+MRPROPER_DIRS  += ""
+MRPROPER_FILES += ""
 
 # clean - Delete most, but leave enough to build external modules
 #
@@ -1140,7 +1139,7 @@ clean: archclean $(clean-dirs)
 #
 mrproper: rm-dirs  := $(wildcard $(MRPROPER_DIRS))
 mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
-mrproper-dirs      := $(addprefix _mrproper_,Documentation/DocBook scripts)
+mrproper-dirs      := $(addprefix _mrproper_,Documentation/DocBook)
 
 PHONY += $(mrproper-dirs) mrproper archmrproper
 $(mrproper-dirs):
diff -Nurp linux-2.6.26.orig/scripts/kconfig/Makefile linux-2.6.26/scripts/kconfig/Makefile
--- linux-2.6.26.orig/scripts/kconfig/Makefile	2008-07-14 00:51:29.000000000 +0300
+++ linux-2.6.26/scripts/kconfig/Makefile	2008-07-24 16:03:27.000000000 +0300
@@ -6,23 +6,29 @@ PHONY += oldconfig xconfig gconfig menuc
 
 Kconfig := arch/$(SRCARCH)/Kconfig
 
-xconfig: $(obj)/qconf
-	$< $(Kconfig)
-
-gconfig: $(obj)/gconf
-	$< $(Kconfig)
-
-menuconfig: $(obj)/mconf
-	$< $(Kconfig)
-
-config: $(obj)/conf
-	$< $(Kconfig)
-
-oldconfig: $(obj)/conf
-	$< -o $(Kconfig)
-
-silentoldconfig: $(obj)/conf
-	$< -s $(Kconfig)
+#xconfig: $(obj)/qconf
+#	$< $(Kconfig)
+xconfig:
+
+#gconfig: $(obj)/gconf
+#	$< $(Kconfig)
+gconfig:
+
+#menuconfig: $(obj)/mconf
+#	$< $(Kconfig)
+menuconfig:
+
+#config: $(obj)/conf
+#	$< $(Kconfig)
+config:
+
+#oldconfig: $(obj)/conf
+#	$< -o $(Kconfig)
+oldconfig:
+
+#silentoldconfig: $(obj)/conf
+#	$< -s $(Kconfig)
+silentoldconfig:
 
 # Create new linux.pot file
 # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files