From 9fa5f38a4076c76c56365b297475f59a5fa80d35 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 28 Apr 2016 14:08:54 +0200 Subject: [PATCH] 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 5319f14c0..3e5e22fe6 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 b1b13b6f9..3e7839a4d 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