aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-18 10:45:03 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 16:01:37 -0400
commitd3562f83a7b8a1ae6e333cd5561419d3da18fcb4 (patch)
tree86840ff577904573aa4699c2d2cd7dcb76a8d9a1 /sim/common
parentc30420d82a0b743285cf8333f90ca85274632714 (diff)
downloadgdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.zip
gdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.tar.gz
gdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.tar.bz2
sim: unify toolchain probing logic
Move these options up to the common dir so we only test & export them once across all ports.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in22
2 files changed, 4 insertions, 22 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 10717fc..848f8b0 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2021-06-19 Mike Frysinger <vapier@gentoo.org>
+ * Make-common.in: Move toolchain vars to ../arch-subdir.mk.in.
+
+2021-06-19 Mike Frysinger <vapier@gentoo.org>
+
* Make-common.in (lt_cv_dlopen_libs): Delete.
(@PLUGINS_TRUE@LIBDL): Likewise.
(ZLIB): Use $(zlibdir).
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 2258475..64c0194 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -52,9 +52,6 @@ include ../arch-subdir.mk
prefix = @prefix@
exec_prefix = @exec_prefix@
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
bindir = @bindir@
libdir = @libdir@
@@ -70,22 +67,8 @@ includedir = @includedir@
# This can be referenced by the gettext configuration code.
top_builddir = ..
-EXEEXT = @EXEEXT@
SHELL = @SHELL@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-CC = @CC@
-C_DIALECT = @C_DIALECT@
-CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
-CXXFLAGS = @CXXFLAGS@
-LDFLAGS = @LDFLAGS@
-
SIM_BITSIZE = @sim_bitsize@
SIM_DEFAULT_MODEL = @sim_default_model@
SIM_FLOAT = @sim_float@
@@ -98,11 +81,6 @@ SIM_SCACHE = @sim_scache@
SIM_WARN_CFLAGS = $(WARN_CFLAGS)
SIM_WERROR_CFLAGS = $(WERROR_CFLAGS)
-AR = @AR@
-AR_FLAGS = rc
-RANLIB = @RANLIB@
-MAKEINFO = makeinfo
-
# Dependency tracking information.
DEPMODE = @CCDEPMODE@
DEPDIR = @DEPDIR@