diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 20:20:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-26 20:38:31 -0500 |
commit | 1b393626cef48974502e7077b191555b56680ee6 (patch) | |
tree | 90319a4085b670ee672d0bf335352b45789a07e9 /sim/ppc | |
parent | 466b619e95908dc073b78413f0d0d0b1cb97e4b5 (diff) | |
download | gdb-1b393626cef48974502e7077b191555b56680ee6.zip gdb-1b393626cef48974502e7077b191555b56680ee6.tar.gz gdb-1b393626cef48974502e7077b191555b56680ee6.tar.bz2 |
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 ae7d0cac8ce971f7108d270c.
Any port that needs to set up a global define can use their own
sim-main.h file that they must provide regardless.
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/ChangeLog | 6 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 9 |
2 files changed, 7 insertions, 8 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 9d85c4c..413a99d 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-26 Mike Frysinger <vapier@gentoo.org> + + * Makefile.in (TCONFIG_H): Delete. + (sim-fpu.o): Delete $(TCONFIG_H). + (tconfig.h): Delete rule. + 2015-11-21 Mike Frysinger <vapier@gentoo.org> PR sim/13834 diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index bac36a9..5f68909 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -446,9 +446,6 @@ SUPPORT_H = \ TARG_VALS_H = \ targ-vals.h -TCONFIG_H = \ - tconfig.h - INLINE = \ inline.h \ inline.c @@ -659,13 +656,9 @@ callback.o: $(srcdir)/../common/callback.c $(TARG_VALS_H) $(CONFIG_H) targ-map.o: targ-map.c $(ANSIDECL_H) $(GDB_CALLBACK_H) $(TARG_VALS_H) -sim-fpu.o: $(srcdir)/../common/sim-fpu.c $(CONFIG_H) $(TCONFIG_H) +sim-fpu.o: $(srcdir)/../common/sim-fpu.c $(CONFIG_H) $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $(srcdir)/../common/sim-fpu.c -tconfig.h: - rm -f tconfig.h - echo > tconfig.h - # Rebuild options whenever something changes so the date/time is up to date. options.o: options.c $(CPU_H) $(OPTIONS_H) $(DEFINES_H) $(BASICS_H) $(IDECODE_H) $(INLINE) $(LIB_SRC) $(BUILT_SRC) config.status Makefile $(CC) -c $(STD_CFLAGS) '-DOPCODE_RULES="@sim_opcode@"' '-DIGEN_FLAGS="$(IGEN_FLAGS)"' '-DDGEN_FLAGS="$(DGEN_FLAGS)"' $(srcdir)/options.c |