meson: linux-user

The most interesting or most complicated part here is the syscall_nr.h
generators.  In order to keep the generation logic all in meson.build,
I am adding to config_target the name of the .tbl file, and making the
generated file syscall<SUFFIX>_nr.h for input file syscall<SUFFIX>.tbl.

For architectures where the input file is not named syscall_nr.tbl,
syscall_nr.h has to be a source file; it's just a forwarder for x86
(i386/x86_64), while for MIPS64 it chooses between N32 and N64 ABIs.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-18 16:13:08 +04:00 committed by Paolo Bonzini
parent 1a82878a08
commit 3a30446aed
41 changed files with 166 additions and 132 deletions

View file

@ -1,2 +0,0 @@
obj-y = fpa11.o fpa11_cpdo.o fpa11_cpdt.o fpa11_cprt.o fpopcode.o
obj-y += single_cpdo.o double_cpdo.o extended_cpdo.o

View file

@ -0,0 +1,10 @@
linux_user_ss.add(when: 'TARGET_ARM', if_true: files(
'double_cpdo.c',
'extended_cpdo.c',
'fpa11.c',
'fpa11_cpdo.c',
'fpa11_cpdt.c',
'fpa11_cprt.c',
'fpopcode.c',
'single_cpdo.c',
))