* [PATCH] sim: common: drop libcommon.a linkage
@ 2023-01-03 3:21 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2023-01-03 3:21 UTC (permalink / raw)
To: gdb-patches
All of these objects should be in libsim.a already, so don't link to
it too. In practice it never gets used, but no point in listing it.
---
sim/Makefile.in | 7 ++-----
sim/common/local.mk | 4 +---
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/sim/common/local.mk b/sim/common/local.mk
index 22917e0f8a64..dd6ed5fec83c 100644
--- a/sim/common/local.mk
+++ b/sim/common/local.mk
@@ -30,8 +30,7 @@ SIM_ALL_RECURSIVE_DEPS += \
## NB: libcommon.a isn't used directly by ports. We need a target for common
## objects to be a part of, and ports use the individual objects directly.
-SIM_COMMON_LIB = %D%/libcommon.a
-noinst_LIBRARIES += $(SIM_COMMON_LIB)
+noinst_LIBRARIES += %D%/libcommon.a
%C%_libcommon_a_SOURCES = \
%D%/callback.c \
%D%/portability.c \
@@ -136,7 +135,6 @@ BFD_LIB = ../bfd/libbfd.la
OPCODES_LIB = ../opcodes/libopcodes.la
SIM_COMMON_LIBS = \
- $(SIM_COMMON_LIB) \
$(BFD_LIB) \
$(OPCODES_LIB) \
$(LIBIBERTY_LIB) \
--
2.39.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-03 3:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 3:21 [PATCH] sim: common: drop libcommon.a linkage Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).