diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-02 14:15:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-14 20:48:49 -0500 |
commit | eac2fbdc4ba9116693f838d82edb844cccce8dd9 (patch) | |
tree | fbec633a3da9bc52fd5d424578238f51efdcefc7 /sim/avr/local.mk | |
parent | 0e7c397dbf3b9af7f132963e2ecc52585f1ee7d0 (diff) | |
download | gdb-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/avr/local.mk')
-rw-r--r-- | sim/avr/local.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/avr/local.mk b/sim/avr/local.mk index 3cae5bf..0647ded 100644 --- a/sim/avr/local.mk +++ b/sim/avr/local.mk @@ -15,9 +15,9 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. -%C%_libsim_a_SOURCES = +%C%_libsim_a_SOURCES = \ + $(common_libcommon_a_SOURCES) %C%_libsim_a_LIBADD = \ - $(common_libcommon_a_OBJECTS) \ %D%/interp.o \ $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \ $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \ |