[kernel] r12911 - dists/trunk/linux-2.6/debian

Bastian Blank waldi at alioth.debian.org
Sun Feb 22 15:52:25 UTC 2009


Author: waldi
Date: Sun Feb 22 15:52:23 2009
New Revision: 12911

Log:
debian/rules.real
- Fix makefile of the header package.
- Remove most Makefile and Kconfig files from the common header package.


Modified:
   dists/trunk/linux-2.6/debian/rules.real

Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real	(original)
+++ dists/trunk/linux-2.6/debian/rules.real	Sun Feb 22 15:52:23 2009
@@ -199,17 +199,12 @@
 
 	cd $(SOURCE_DIR); \
 	( \
-	  find . \
-	    -path './Documentation/*' -prune -o \
-	    -path './arch/*' -prune -o \
-	    -path './include/asm*' -prune -o \
-	    -path './scripts/*' -prune -o \
-	    -path './include/*' -print -o \
-	    \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Rules.make' \) -print; \
-	  find include/asm-generic -print; \
+	  echo Makefile; \
 	  find arch/$(KERNEL_ARCH) \
 	    \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Rules.make' -o -name 'module.lds' \) -print; \
 	  find arch/$(KERNEL_ARCH)/include -print; \
+	  find include -name 'asm*' -prune -o -print; \
+	  find include/asm-generic -print; \
 	) \
 	| \
 	cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
@@ -256,7 +251,7 @@
 	@echo 'all:' >> $(DIR)/Makefile
 	@echo '	@$$(MAKE) $$(MAKEARGS) $$(cmd)' >> $(DIR)/Makefile
 	@echo 'Makefile:;' >> $(DIR)/Makefile
-	@echo '$(cmd) %/: all' >> $(DIR)/Makefile
+	@echo '$$(cmd) %/: all' >> $(DIR)/Makefile
 	@echo '	@:' >> $(DIR)/Makefile
 
 	ln -s ../$(PACKAGE_NAME_KBUILD)/scripts $(DIR)



More information about the Kernel-svn-changes mailing list