summary refs log tree commit diff stats
path: root/linux-user/ppc/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/ppc/Makefile.objs')
-rw-r--r--linux-user/ppc/Makefile.objs6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/ppc/Makefile.objs b/linux-user/ppc/Makefile.objs
new file mode 100644
index 0000000000..be92e67eb1
--- /dev/null
+++ b/linux-user/ppc/Makefile.objs
@@ -0,0 +1,6 @@
+generated-files-y += linux-user/$(TARGET_ABI_DIR)/syscall_nr.h
+
+syshdr := $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)/syscallhdr.sh
+
+%/syscall_nr.h: $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)/syscall.tbl $(syshdr)
+	$(call quiet-command, sh $(syshdr) $< $@ $(TARGET_SYSTBL_ABI),"GEN","$@")