kbuild: refactor headers_* targets in Makefile
authorSam Ravnborg <sam@ravnborg.org>
Thu, 5 Jun 2008 14:43:46 +0000 (16:43 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 25 Jul 2008 20:08:37 +0000 (22:08 +0200)
commite6883b187920e71ae57bbc9c07885afdd83ddc4e
tree4b4dac56f8de17f4505d39f355ebc0df4d1a4c5b
parent5047887caf1806f31652210df27fb62a7c43f27d
kbuild: refactor headers_* targets in Makefile

o Use lower case for local variables
o Add a helper target for common targets
o Use $(hdr-inst)= ... to make Make invocations simpler
o Add -rR to make invocations

In total this adds more lines than it removes but the
benefit is better readability

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Makefile