aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-02 14:15:02 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-14 20:48:49 -0500
commiteac2fbdc4ba9116693f838d82edb844cccce8dd9 (patch)
treefbec633a3da9bc52fd5d424578238f51efdcefc7 /sim/common
parent0e7c397dbf3b9af7f132963e2ecc52585f1ee7d0 (diff)
downloadgdb-eac2fbdc4ba9116693f838d82edb844cccce8dd9.zip
gdb-eac2fbdc4ba9116693f838d82edb844cccce8dd9.tar.gz
gdb-eac2fbdc4ba9116693f838d82edb844cccce8dd9.tar.bz2
sim: common: move libcommon.a objects to sources
This simplifies the build logic and avoids an Automake bug where the common_libcommon_a_OBJECTS variable isn't set in the arch libsim.a DEPENDENCIES for targets that, alphabetically, come before "common". We aren't affected by that bug with the current code, but as we move things out of SIM_ALL_RECURSIVE_DEPS and rely on finer dependencies, we will trip over it.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk
index 0ce7901..cbef45e 100644
--- a/sim/common/local.mk
+++ b/sim/common/local.mk
@@ -30,6 +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.
+## We can delete this once ppc/Makefile.in is merged into ppc/local.mk.
noinst_LIBRARIES += %D%/libcommon.a
%C%_libcommon_a_SOURCES = \
%D%/callback.c \