aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Marinas2012-10-17 06:25:44 -0500
committerDavid Howells2012-10-17 06:25:44 -0500
commit3c5994c83895c89d344f24a86276f00d308e142b (patch)
tree06d0040a24ec46512a630b967ef6f6c7fd5f4092 /Makefile
parent8d2b6b3ae280dcf6f6c7a95623670a57cdf562ed (diff)
downloadkernel-video-3c5994c83895c89d344f24a86276f00d308e142b.tar.gz
kernel-video-3c5994c83895c89d344f24a86276f00d308e142b.tar.xz
kernel-video-3c5994c83895c89d344f24a86276f00d308e142b.zip
uapi: Allow automatic generation of uapi/asm/ header files
Several arch/*/include/uapi/asm/* header simply include the corresponding <asm-generic/*> file. This patch allows such files to be specified in uapi/asm/Kbuild via "generic-y += ..." to be automatically generated (similar to asm/Kbuild). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: David Howells <dhowells@redhat.com> Cc: Michal Marek <mmarek@suse.cz> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5be2ee8c90e..366d0ab0c5f 100644
--- a/Makefile
+++ b/Makefile
@@ -437,7 +437,9 @@ endif
437PHONY += asm-generic 437PHONY += asm-generic
438asm-generic: 438asm-generic:
439 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ 439 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
440 obj=arch/$(SRCARCH)/include/generated/asm 440 src=asm obj=arch/$(SRCARCH)/include/generated/asm
441 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
442 src=uapi/asm obj=arch/$(SRCARCH)/include/generated/uapi/asm
441 443
442# To make sure we do not include .config for any of the *config targets 444# To make sure we do not include .config for any of the *config targets
443# catch them early, and hand them over to scripts/kconfig/Makefile 445# catch them early, and hand them over to scripts/kconfig/Makefile