summaryrefslogtreecommitdiffstats
path: root/arch/m68k/Makefile
diff options
context:
space:
mode:
authorFiroz Khan2018-11-13 07:00:29 +0100
committerGeert Uytterhoeven2018-12-04 09:47:55 +0100
commit005e13a96c0ed1437cb7f113d5d0f07ad9590962 (patch)
treedbbd99c179be72bc49bc77718286d9f83cda6d3f /arch/m68k/Makefile
parentm68k: Add system call table generation support (diff)
downloadkernel-qcow2-linux-005e13a96c0ed1437cb7f113d5d0f07ad9590962.tar.gz
kernel-qcow2-linux-005e13a96c0ed1437cb7f113d5d0f07ad9590962.tar.xz
kernel-qcow2-linux-005e13a96c0ed1437cb7f113d5d0f07ad9590962.zip
m68k: 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 m68k/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/syscalltable.S file. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/Makefile')
-rw-r--r--arch/m68k/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
index 997c9f20ea0f..f00ca53f8c14 100644
--- a/arch/m68k/Makefile
+++ b/arch/m68k/Makefile
@@ -154,5 +154,8 @@ endif
archclean:
rm -f vmlinux.gz vmlinux.bz2
+archheaders:
+ $(Q)$(MAKE) $(build)=arch/m68k/kernel/syscalls all
+
install:
sh $(srctree)/arch/m68k/install.sh $(KERNELRELEASE) vmlinux.gz System.map "$(INSTALL_PATH)"