aboutsummaryrefslogtreecommitdiff
path: root/linux-user/s390x/Makefile.objs
diff options
context:
space:
mode:
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","$@")