[linux] 01/07: linux-headers: Avoid mixed implicit and normal rules in Makefile

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Apr 28 14:36:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux.

commit 9fa5f38a4076c76c56365b297475f59a5fa80d35
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu Apr 28 14:08:54 2016 +0200

    linux-headers: Avoid mixed implicit and normal rules in Makefile
    
    Thanks to Thierry Herbelot; closes: #822666
---
 debian/changelog  | 2 ++
 debian/rules.real | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5319f14..3e5e22f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -124,6 +124,8 @@ linux (4.5.2-1) UNRELEASED; urgency=medium
   * README.Debian: Change more URLs to use https: scheme
   * [sparc] Implement and wire up hotplug and modalias_show for vio, thanks to
     Adrian Glaubitz (Closes: #815977)
+  * linux-headers: Avoid mixed implicit and normal rules in Makefile, thanks to
+    Thierry Herbelot (Closes: #822666)
 
   [ Aurelien Jarno ]
   * [mips*] Emulate unaligned LDXC1 and SDXC1 instructions.
diff --git a/debian/rules.real b/debian/rules.real
index b1b13b6..3e7839a 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -311,7 +311,9 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(
 	@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
+	@echo '%/: all' >> $(DIR)/Makefile
 	@echo '	@:' >> $(DIR)/Makefile
 
 	dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/scripts $(BASE_DIR)/scripts

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list