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