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