summaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorFiroz Khan <firoz.khan@linaro.org>2018-12-13 14:37:39 +0530
committerPaul Burton <paul.burton@mips.com>2018-12-14 11:19:02 -0800
commit99bf73ebf9c4193dbcc5331b29d316a89ada43d1 (patch)
tree7c3869ca19fc940e99b683633b511a804b06e612 /arch/mips/Makefile
parent9bcbf97c62931f27ab2c52f0848dec0cd48aee78 (diff)
downloadlinux-99bf73ebf9c4193dbcc5331b29d316a89ada43d1.tar.gz
linux-99bf73ebf9c4193dbcc5331b29d316a89ada43d1.tar.bz2
linux-99bf73ebf9c4193dbcc5331b29d316a89ada43d1.zip
mips: generate uapi header and system call table files
System call table generation script must be run to gener- ate unistd_(nr_)n64/n32/o32.h and syscall_table_32_o32/ 64_n64/64_n32/64-o32.h files. This patch will have changes which will invokes the script. This patch will generate unistd_(nr_)n64/n32/o32.h and syscall_table_32_o32/64_n64/64-n32/64-o32.h files by the syscall table generation script invoked by parisc/Make- file 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/scall32-o32/64-n64/64-n32/- 64-o32.Sfile. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: y2038@lists.linaro.org Cc: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: arnd@arndb.de Cc: deepa.kernel@gmail.com Cc: marcin.juszkiewicz@linaro.org
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b6303e48d479..5b174c3d0de3 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -430,6 +430,9 @@ archclean:
$(Q)$(MAKE) $(clean)=arch/mips/boot/tools
$(Q)$(MAKE) $(clean)=arch/mips/lasat
+archheaders:
+ $(Q)$(MAKE) $(build)=arch/mips/kernel/syscalls all
+
define archhelp
echo ' install - install kernel into $(INSTALL_PATH)'
echo ' vmlinux.ecoff - ECOFF boot image'