Add link to arch scripts in linux-kbuild from linux-headers packages

svn path=/dists/sid/linux-2.6/; revision=15243
This commit is contained in:
Ben Hutchings 2010-02-20 05:29:13 +00:00
parent b082e373b1
commit a5eeaf8d27
1 changed files with 4 additions and 0 deletions

4
debian/rules.real vendored
View File

@ -208,6 +208,10 @@ install-headers_$(ARCH)_$(FEATURESET): $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET
cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
ln -s /usr/lib/$(PACKAGE_NAME_KBUILD)/{Kbuild,scripts} $(DIR)
if [ -d $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/scripts ]; then \
ln -s /usr/lib/$(PACKAGE_NAME_KBUILD)/arch/$(KERNEL_ARCH)/scripts \
$(DIR)/arch/$(KERNEL_ARCH); \
fi
+$(MAKE_SELF) install-base