summaryrefslogtreecommitdiff
path: root/arch/s390/Makefile
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2017-12-11 16:54:08 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-01-23 09:36:51 +0300
commit5c75824d915e123a29dd5c422828093950a0f4cf (patch)
tree907c6fbbcbcbe1d8ad57896df40403918271a886 /arch/s390/Makefile
parentfd834e0970efad999df3ea60c581c3d56d6444d2 (diff)
downloadlinux-5c75824d915e123a29dd5c422828093950a0f4cf.tar.xz
s390/syscalls: add Makefile to generate system call header files
Generate the system call specific files from the archheaders and archprepare make targets. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Makefile')
-rw-r--r--arch/s390/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index aa37ba79c762..7b31e0626f08 100644
--- a/arch/s390/Makefile
+++ b/arch/s390/Makefile
@@ -111,6 +111,7 @@ drivers-y += drivers/s390/
drivers-$(CONFIG_OPROFILE) += arch/s390/oprofile/
boot := arch/s390/boot
+syscalls := arch/s390/kernel/syscalls
tools := arch/s390/tools
all: image bzImage
@@ -132,7 +133,11 @@ archclean:
$(Q)$(MAKE) $(clean)=$(boot)
$(Q)$(MAKE) $(clean)=$(tools)
+archheaders:
+ $(Q)$(MAKE) $(build)=$(syscalls) uapi
+
archprepare:
+ $(Q)$(MAKE) $(build)=$(syscalls) kapi
$(Q)$(MAKE) $(build)=$(tools) include/generated/facilities.h
$(Q)$(MAKE) $(build)=$(tools) include/generated/dis.h