meson: linux-user
commit3a30446aed8497b5928576c6d1aedba557363934
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 18 Aug 2019 12:13:08 +0000 (18 16:13 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Aug 2020 10:30:38 +0000 (21 06:30 -0400)
treecc670735d6eb7f2b66d4da3b5e1f91c7168bb766
parent1a82878a0840ec963119fdf40895d87861884f40
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>
41 files changed:
Makefile.target
configure
linux-user/Makefile.objs [deleted file]
linux-user/alpha/Makefile.objs [deleted file]
linux-user/alpha/meson.build [new file with mode: 0644]
linux-user/arm/Makefile.objs [deleted file]
linux-user/arm/meson.build [new file with mode: 0644]
linux-user/arm/nwfpe/Makefile.objs [deleted file]
linux-user/arm/nwfpe/meson.build [new file with mode: 0644]
linux-user/hppa/Makefile.objs [deleted file]
linux-user/hppa/meson.build [new file with mode: 0644]
linux-user/i386/Makefile.objs [deleted file]
linux-user/i386/meson.build [new file with mode: 0644]
linux-user/i386/syscall_nr.h [new file with mode: 0644]
linux-user/m68k/Makefile.objs [deleted file]
linux-user/m68k/meson.build [new file with mode: 0644]
linux-user/meson.build [new file with mode: 0644]
linux-user/microblaze/Makefile.objs [deleted file]
linux-user/microblaze/meson.build [new file with mode: 0644]
linux-user/mips/Makefile.objs [deleted file]
linux-user/mips/meson.build [new file with mode: 0644]
linux-user/mips/syscall_nr.h [new file with mode: 0644]
linux-user/mips64/Makefile.objs [deleted file]
linux-user/mips64/meson.build [new file with mode: 0644]
linux-user/mips64/syscall_nr.h [new file with mode: 0644]
linux-user/ppc/Makefile.objs [deleted file]
linux-user/ppc/meson.build [new file with mode: 0644]
linux-user/s390x/Makefile.objs [deleted file]
linux-user/s390x/meson.build [new file with mode: 0644]
linux-user/sh4/Makefile.objs [deleted file]
linux-user/sh4/meson.build [new file with mode: 0644]
linux-user/sparc/Makefile.objs [deleted file]
linux-user/sparc/meson.build [new file with mode: 0644]
linux-user/sparc64/Makefile.objs [deleted file]
linux-user/sparc64/meson.build [new file with mode: 0644]
linux-user/x86_64/Makefile.objs [deleted file]
linux-user/x86_64/meson.build [new file with mode: 0644]
linux-user/x86_64/syscall_nr.h [new file with mode: 0644]
linux-user/xtensa/Makefile.objs [deleted file]
linux-user/xtensa/meson.build [new file with mode: 0644]
meson.build