linux-headers: Avoid mixed implicit and normal rules in Makefile

Thanks to Thierry Herbelot; closes: #822666
This commit is contained in:
Ben Hutchings 2016-04-28 14:08:54 +02:00
parent 9321f394c6
commit 9fa5f38a40
2 changed files with 5 additions and 1 deletions

2
debian/changelog vendored
View File

@ -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.

4
debian/rules.real vendored
View File

@ -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