qemu-e2k/target
Paolo Bonzini 139c1837db meson: rename included C source files to .c.inc
With Makefiles that have automatically generated dependencies, you
generated includes are set as dependencies of the Makefile, so that they
are built before everything else and they are available when first
building the .c files.

Alternatively you can use a fine-grained dependency, e.g.

        target/arm/translate.o: target/arm/decode-neon-shared.inc.c

With Meson you have only one choice and it is a third option, namely
"build at the beginning of the corresponding target"; the way you
express it is to list the includes in the sources of that target.

The problem is that Meson decides if something is a source vs. a
generated include by looking at the extension: '.c', '.cc', '.m', '.C'
are sources, while everything else is considered an include---including
'.inc.c'.

Use '.c.inc' to avoid this, as it is consistent with our other convention
of using '.rst.inc' for included reStructuredText files.  The editorconfig
file is adjusted.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 06:18:30 -04:00
..
alpha accel/tcg: Relax va restrictions on 64-bit guests 2020-05-15 15:25:16 +01:00
arm meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
avr meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
cris meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
hppa meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
i386 trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
lm32 x86 and machine queue for 5.0 soft freeze 2020-03-19 14:22:46 +00:00
m68k target/m68k: consolidate physical translation offset into get_physical_address() 2020-07-06 21:39:57 +02:00
microblaze target/microblaze: monitor: Increase the number of registers reported 2020-05-14 16:01:02 +02:00
mips meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
moxie cpu: Use DeviceClass reset instead of a special CPUClass reset 2020-03-17 19:48:10 -04:00
nios2 target/nios2: Use gen_io_start around wrctl instruction 2020-07-13 14:36:11 +01:00
openrisc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
ppc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
riscv meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
rx meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
s390x meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
sh4 gdbstub: Introduce gdb_get_float32() to get 32-bit float registers 2020-04-15 11:38:23 +01:00
sparc trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
tilegx cpu: Use DeviceClass reset instead of a special CPUClass reset 2020-03-17 19:48:10 -04:00
tricore target/tricore: Implement gdbstub 2020-06-01 16:55:13 +02:00
unicore32 target/unicore32: Prefer qemu_semihosting_log_out() over curses 2020-06-09 19:58:53 +02:00
xtensa meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00