From a5eeaf8d27b43e090e4fc8d1f9330ba464aa4983 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 20 Feb 2010 05:29:13 +0000 Subject: [PATCH] Add link to arch scripts in linux-kbuild from linux-headers packages svn path=/dists/sid/linux-2.6/; revision=15243 --- debian/rules.real | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules.real b/debian/rules.real index 3c014820b..29534e519 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -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