aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-09 02:44:59 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-09 02:46:35 -0400
commitb728479074067064ed997a161d3b53feab3476f2 (patch)
tree1f1a37163db54407a85c6a620a3d32ad017b1fe3 /sim/ppc/Makefile.in
parenta13ab747e7abc67fca3568195bf943708261a39e (diff)
downloadgdb-b728479074067064ed997a161d3b53feab3476f2.zip
gdb-b728479074067064ed997a161d3b53feab3476f2.tar.gz
gdb-b728479074067064ed997a161d3b53feab3476f2.tar.bz2
sim: ppc: drop support for std-config.h overrides
Only the ppc arch supports this kind of source file override logic. All the others expose knobs via configure flags, and for some of these, the ppc code does as well. For others, it doesn't make sense to ever change them. Since it's unlikely anyone is using this, drop it all to simplify the code (and to get us a little closer to the common sim code).
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r--sim/ppc/Makefile.in18
1 files changed, 4 insertions, 14 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 397e76c..9d892ee 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -95,7 +95,6 @@ LIBS = $(COMMON_LIBS) @LIBS@ $(LIBGNU) $(LIBGNU_EXTRA_LIBS)
COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS)
LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
-CONFIG_FILE = @sim_config@
IGEN_OPCODE_RULES = @sim_opcode@
IGEN_DECODE_MECHANISM = @sim_decode_mechanism@
IGEN_DUPLICATE = @sim_dup@
@@ -168,7 +167,6 @@ ALTIVEC_REGISTERS_H = \
BASICS_H = \
basics.h \
$(CONFIG_H) \
- $(PPC_CONFIG_H) \
$(INLINE_H) \
$(SIM_CALLBACKS_H) \
$(DEBUG_H) \
@@ -401,9 +399,6 @@ MODEL_H = \
PK_H = \
pk.h
-PPC_CONFIG_H = \
- ppc-config.h
-
SEMANTICS_H = \
semantics.h
@@ -437,8 +432,7 @@ BUILT_SRC_WO_CONFIG = \
BUILT_SRC = \
$(BUILT_SRC_WO_CONFIG) \
- config.h \
- ppc-config.h
+ config.h
LIB_INLINE_SRC = \
psim.c \
@@ -541,7 +535,7 @@ psim.o: psim.c $(CPU_H) $(IDECODE_H) $(OPTIONS_H) $(TREE_H) $(BFD_H)
bits.o: bits.c $(BASICS_H)
debug.o: debug.c $(CONFIG_H) $(BASICS_H)
-filter_filename.o: filter_filename.c $(CONFIG_H) $(PPC_CONFIG_H) $(FILTER_FILENAME_H)
+filter_filename.o: filter_filename.c $(CONFIG_H) $(FILTER_FILENAME_H)
sim-endian.o: sim-endian.c $(CONFIG_H) $(BASICS_H) $(SIM_ENDIAN_N_H)
@@ -646,10 +640,6 @@ tmp-defines: config.h Makefile
# Rules to create the built c source code files
#
-ppc-config.h: $(CONFIG_FILE)
- cp $(srcdir)/$(CONFIG_FILE) ppc-config.h
-
-
tmp-dgen: dgen ppc-spr-table $(srcdir)/../../move-if-change
$(DGEN) $(DGEN_FLAGS) \
-r $(srcdir)/ppc-spr-table \
@@ -705,7 +695,7 @@ igen: igen.o table.o lf.o misc.o filter_host.o ld-decode.o ld-cache.o filter.o l
filter_host.c: filter_filename.c
cat $(srcdir)/filter_filename.c > filter_host.c
-filter_host.o: filter_host.c $(CONFIG_H) $(PPC_CONFIG_H) $(FILTER_FILENAME_H)
+filter_host.o: filter_host.c $(CONFIG_H) $(FILTER_FILENAME_H)
$(COMPILE_FOR_BUILD) -c filter_host.c
table.o: table.c $(CONFIG_H) $(MISC_H) $(LF_H) $(TABLE_H)
@@ -856,7 +846,7 @@ distclean realclean: clean
rm -f TAGS Makefile config.cache config.status config.h defines.h stamp-h config.log
maintainer-clean: distclean
- rm -f *~ *.log ppc-config.h core *.core
+ rm -f *~ *.log core *.core
Makefile: Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status