From d5326388841699dd56e9f030edb66a36fec55115 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Sun, 22 Feb 2009 15:52:23 +0000 Subject: [PATCH] debian/rules.real - Fix makefile of the header package. - Remove most Makefile and Kconfig files from the common header package. svn path=/dists/trunk/linux-2.6/; revision=12911 --- debian/rules.real | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/debian/rules.real b/debian/rules.real index d53ab16e5..a62d96b6a 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -199,17 +199,12 @@ install-headers_$(ARCH)_$(FEATURESET): $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET 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 @@ endif @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)