meson: rename included C source files to .c.incWith Makefiles that have automatically generated dependencies, yougenerated includes are set as dependencies of the Makefile, so that theyare built
meson: rename included C source files to .c.incWith Makefiles that have automatically generated dependencies, yougenerated includes are set as dependencies of the Makefile, so that theyare built before everything else and they are available when firstbuilding the .c files.Alternatively you can use a fine-grained dependency, e.g. target/arm/translate.o: target/arm/decode-neon-shared.inc.cWith Meson you have only one choice and it is a third option, namely"build at the beginning of the corresponding target"; the way youexpress it is to list the includes in the sources of that target.The problem is that Meson decides if something is a source vs. agenerated 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 conventionof using '.rst.inc' for included reStructuredText files. The editorconfigfile is adjusted.Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
target/xtensa: Clean up core-isa.h header guardsscripts/clean-header-guards.pl warns these headers use reservedidentifier _XTENSA_CORE_CONFIGURATION_H as header guard symbol. Itadditionally warn
target/xtensa: Clean up core-isa.h header guardsscripts/clean-header-guards.pl warns these headers use reservedidentifier _XTENSA_CORE_CONFIGURATION_H as header guard symbol. Itadditionally warns the guard doesn't match the file name.Reuse of the same guard symbol in multiple headers is okay as long asthey cannot be included together.Since we can avoid guard symbol reuse easily, do so: use the guardsymbol scripts/clean-header-guards.pl picks, less the TARGET_ prefix.Signed-off-by: Markus Armbruster <armbru@redhat.com>Message-Id: <20190315145123.28030-5-armbru@redhat.com>
target/xtensa: add test_kc705_be coreThis is big-endian core with HiFi2 instructions.Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>