linux-user, mips64: add syscall table generation support
[qemu.git] / linux-user / mips64 / Makefile.objs
1 generated-files-y += linux-user/$(TARGET_ABI_DIR)/syscall_nr.h
2
3 syshdr := $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)/syscallhdr.sh
4
5 ifeq ($(TARGET_SYSTBL_ABI),n32)
6 %/syscall_nr.h: $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)/syscall_n32.tbl $(syshdr)
7         $(call quiet-command, sh $(syshdr) $< $@ n32 "" 6000,"GEN","$@")
8 endif
9 ifeq ($(TARGET_SYSTBL_ABI),n64)
10 %/syscall_nr.h: $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)/syscall_n64.tbl $(syshdr)
11         $(call quiet-command, sh $(syshdr) $< $@ n64 "" 5000,"GEN","$@")
12 endif