sim: punt WITH_DEVICES & tconfig.h support

No arch is using this anymore, and we want all new ports using the
hardware framework instead.  Punt WITH_DEVICES and the two callbacks
device_io_{read,write}_buffer.

We can also punt the tconfig.h file as no port is using it anymore.
This fixes in-tree builds that get confused by picking up the wrong
one (common/ vs <port>/) caused by commit ae7d0cac8c.

Any port that needs to set up a global define can use their own
sim-main.h file that they must provide regardless.
This commit is contained in:
Mike Frysinger 2015-12-26 20:20:23 -05:00
parent 466b619e95
commit 1b393626ce
95 changed files with 197 additions and 290 deletions

View file

@ -1,3 +1,7 @@
2015-12-26 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2015-12-26 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.

View file

@ -162,5 +162,3 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
#include "tconfig.h"

6
sim/m32r/configure vendored
View file

@ -8308,8 +8308,6 @@ else
fi
# Some of the common include files depend on bfd.h, and bfd.h checks
# that config.h is included first by testing that the PACKAGE macro
# is defined.
@ -12325,7 +12323,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 12328 "configure"
#line 12326 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -12431,7 +12429,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 12434 "configure"
#line 12432 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H