From 1b393626cef48974502e7077b191555b56680ee6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Dec 2015 20:20:23 -0500 Subject: 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 /) caused by commit ae7d0cac8ce971f7108d270c. Any port that needs to set up a global define can use their own sim-main.h file that they must provide regardless. --- sim/bfin/ChangeLog | 4 ++++ sim/bfin/config.in | 2 -- sim/bfin/configure | 6 ++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sim/bfin') diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 2bdfc6e..4cdc81c 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,5 +1,9 @@ 2015-12-26 Mike Frysinger + * config.in, configure: Regenerate. + +2015-12-26 Mike Frysinger + * devices.c (bfin_mmr_invalid): Delete cpu arg and add missing arg. Add cpu, rw, and reason local vars. Rewrite error messages. Add more todo comments. diff --git a/sim/bfin/config.in b/sim/bfin/config.in index 6b995a7..c5223be 100644 --- a/sim/bfin/config.in +++ b/sim/bfin/config.in @@ -210,5 +210,3 @@ /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE - -#include "tconfig.h" diff --git a/sim/bfin/configure b/sim/bfin/configure index 76cbc6a..8edee25 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -8323,8 +8323,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. @@ -12340,7 +12338,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12343 "configure" +#line 12341 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12446,7 +12444,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12449 "configure" +#line 12447 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.1