forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user