summaryrefslogtreecommitdiff
path: root/linux-user/s390x/Makefile.objs
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2020-03-10 11:33:53 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-03-20 16:02:00 +0100
commit318f371dcf797ab29dccabd3d9956f835c6fa69e (patch)
treedcd5767335469840330b1775a0078d1b6fdc0d7d /linux-user/s390x/Makefile.objs
parentb632d67913d9d27274d879424059a0698020f1a0 (diff)
downloadqemu-318f371dcf797ab29dccabd3d9956f835c6fa69e.zip
linux-user, s390x: add syscall table generation support
Copy syscall.tbl from linux/arch/s390x/kernel/syscalls v5.5 Copy syscallhdr.sh from m68k. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Message-Id: <20200310103403.3284090-12-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/s390x/Makefile.objs')
-rw-r--r--linux-user/s390x/Makefile.objs5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/s390x/Makefile.objs b/linux-user/s390x/Makefile.objs
new file mode 100644
index 0000000000..f30f1625cc
--- /dev/null
+++ b/linux-user/s390x/Makefile.objs
@@ -0,0 +1,5 @@
+generated-files-y += linux-user/s390x/syscall_nr.h
+
+syshdr := $(SRC_PATH)/linux-user/s390x/syscallhdr.sh
+%/syscall_nr.h: $(SRC_PATH)/linux-user/s390x/syscall.tbl $(syshdr)
+ $(call quiet-command, sh $(syshdr) $< $@ $(TARGET_SYSTBL_ABI),"GEN","$@")