aboutsummaryrefslogtreecommitdiff
path: root/linux-user/m68k/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/m68k/Makefile.objs')
-rw-r--r--linux-user/m68k/Makefile.objs5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/m68k/Makefile.objs b/linux-user/m68k/Makefile.objs
new file mode 100644
index 0000000000..961bd05c23
--- /dev/null
+++ b/linux-user/m68k/Makefile.objs
@@ -0,0 +1,5 @@
+generated-files-y += linux-user/m68k/syscall_nr.h
+
+syshdr := $(SRC_PATH)/linux-user/m68k/syscallhdr.sh
+%/syscall_nr.h: $(SRC_PATH)/linux-user/m68k/syscall.tbl $(syshdr)
+ $(call quiet-command, sh $(syshdr) $< $@ $(TARGET_SYSTBL_ABI),"GEN","$@")