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