sim: unify platform function & header tests

Move the various platform tests up a level to avoid duplication
across the ports.  When building multiple versions, this speeds
things up a bit.

For now we move the obvious stuff up a level, but we don't turn
own the config.h entirely just yet -- we still have some tests
related to libraries that need consideration.
This commit is contained in:
Mike Frysinger
2021-05-17 20:34:52 -04:00
parent 8c60e272c7
commit b15c5d7a51
109 changed files with 1478 additions and 17440 deletions

View File

@@ -34,9 +34,21 @@
#undef PACKAGE_URL
#undef PACKAGE_VERSION
/* Include sim's various configure tests. */
/* Include arch-specific sim's various configure tests. */
#include "config.h"
/* Reset macros that our config.h will provide. */
#undef PACKAGE
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_URL
#undef PACKAGE_VERSION
/* Include common sim's various configure tests. */
#include "../config.h"
#endif
#endif