qemu-patch-raspberry4/tests/fp
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
..
berkeley-softfloat-3@b64af41c32 gitmodules: add berkeley's softfloat + testfloat version 3 2018-10-05 12:57:41 -05:00
berkeley-testfloat-3@5a59dcec19 berkeley-testfloat-3: pull changes 2019-01-22 20:47:57 +00:00
.gitignore tests/fp: add fp-bench 2018-12-17 08:25:25 +00:00
fp-bench.c fp-bench: remove wrong exponent raise in fill_random 2019-01-22 20:47:54 +00:00
fp-test.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
Makefile testing: don't nest build for fp-test 2020-01-09 11:41:29 +00:00
platform.h tests/fp/platform.h: include config-host.h 2019-01-22 20:48:15 +00:00
wrap.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00