diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-02 16:46:14 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-14 20:53:13 -0500 |
commit | 72be276fffe304a478ecadad34bb89fe33cdf052 (patch) | |
tree | 6b4ac42aa49a60a8a5502fc33829ba3741f32ef9 /sim/mips | |
parent | 4df74707043bf248f248cd52d9c70c29ec4e679c (diff) | |
download | gdb-72be276fffe304a478ecadad34bb89fe33cdf052.zip gdb-72be276fffe304a478ecadad34bb89fe33cdf052.tar.gz gdb-72be276fffe304a478ecadad34bb89fe33cdf052.tar.bz2 |
sim: common: move modules.c to source tracking
This makes sure the arch-specific modules.c wildcard is matched and
not the common/%.c so that we compile it correctly. It also makes
sure each subdir has depdir logic enabled.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/local.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/mips/local.mk b/sim/mips/local.mk index 5f32eee..88d4c90 100644 --- a/sim/mips/local.mk +++ b/sim/mips/local.mk @@ -53,6 +53,8 @@ if SIM_MIPS_GEN_MODE_MULTI %D%/itable.o \ %D%/multi-run.o endif +nodist_%C%_libsim_a_SOURCES = \ + %D%/modules.c %C%_libsim_a_SOURCES = \ $(common_libcommon_a_SOURCES) %C%_libsim_a_LIBADD = \ @@ -64,7 +66,6 @@ endif %D%/cp1.o \ %D%/dsp.o \ %D%/mdmx.o \ - %D%/modules.o \ %D%/sim-main.o \ %D%/sim-resume.o ## Workaround Automake bug where $(SIM_MIPS_MULTI_OBJ) isn't copied from LIBADD |