aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-07 01:48:06 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 23:49:41 -0400
commitdd8e16ea7b2b929480a3cfac894af78aecc7608e (patch)
treedaadd082687879dc2a3d8e3fadba5860badb8e1f /sim/common/Make-common.in
parenta687671327dd2eb4d715745cce04a8f1c96e1fc1 (diff)
downloadgdb-dd8e16ea7b2b929480a3cfac894af78aecc7608e.zip
gdb-dd8e16ea7b2b929480a3cfac894af78aecc7608e.tar.gz
gdb-dd8e16ea7b2b929480a3cfac894af78aecc7608e.tar.bz2
sim: unify sim-load.o building
Since this file does not rely on any port-specific settings, move it up to building as part of the common step so we only do it once in a multibuild.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 999b1ee..8454d16 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -179,7 +179,6 @@ SIM_NEW_COMMON_OBJS = \
sim-hrw.o \
sim-io.o \
sim-info.o \
- sim-load.o \
sim-memopt.o \
sim-model.o \
sim-module.o \
@@ -254,7 +253,10 @@ LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL_DEP) $(LIBIBERTY_LIB)
EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBINTL) $(LIBIBERTY_LIB) \
$(CONFIG_LIBS) $(SIM_EXTRA_LIBS) $(LIBDL) $(LIBGNU) $(LIBGNU_EXTRA_LIBS)
-COMMON_OBJS = ../common/version.o
+COMMON_OBJS_NAMES = \
+ sim-load.o \
+ version.o
+COMMON_OBJS = $(COMMON_OBJS_NAMES:%=../common/common_libcommon_a-%)
LIB_OBJS = callback.o modules.o syscall.o targ-map.o $(COMMON_OBJS) $(SIM_OBJS)