summaryrefslogtreecommitdiffstats
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
authorFiroz Khan <firoz.khan@linaro.org>2018-11-14 10:02:10 +0530
committerArnd Bergmann <arnd@arndb.de>2018-12-19 17:54:40 +0100
commit2b3c5a99d5f314960e00950c1782eac9361de30f (patch)
tree311b64dfc2402ff6866362493b71fd182289d963 /arch/sh/Makefile
parenta0239c8eb9363d4c2c6d6411bff4e3ea744e3164 (diff)
downloadlinux-2b3c5a99d5f314960e00950c1782eac9361de30f.tar.bz2
sh: generate uapi header and syscall table header files
System call table generation script must be run to gener- ate unistd_32.h and syscall_table.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32.h and syscall_table.h files by the syscall table generation script invoked by sh/Makefile and the generated files against the removed files must be identical. The generated uapi header file will be included in uapi/- asm/unistd.h and generated system call table header file will be included by kernel/syscall_32.S file. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index c521ade2557c..4009bef62fe9 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -228,6 +228,9 @@ archclean:
$(Q)$(MAKE) $(clean)=$(boot)
$(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall
+archheaders:
+ $(Q)$(MAKE) $(build)=arch/sh/kernel/syscalls all
+
define archhelp
@echo ' zImage - Compressed kernel image'
@echo ' romImage - Compressed ROM image, if supported'