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
This commit is contained in:
parent
05ce17f045
commit
d532638884
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue