aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-02 16:46:14 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-14 20:53:13 -0500
commit72be276fffe304a478ecadad34bb89fe33cdf052 (patch)
tree6b4ac42aa49a60a8a5502fc33829ba3741f32ef9 /sim/m32r
parent4df74707043bf248f248cd52d9c70c29ec4e679c (diff)
downloadgdb-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/m32r')
-rw-r--r--sim/m32r/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/m32r/local.mk b/sim/m32r/local.mk
index 24ef10e..8519065 100644
--- a/sim/m32r/local.mk
+++ b/sim/m32r/local.mk
@@ -30,13 +30,14 @@ AM_CFLAGS_%C%_sem.o = -Wno-error
AM_CFLAGS_%C%_sim_if.o = -Wno-error
AM_CFLAGS_%C%_traps.o = -Wno-error
+nodist_%C%_libsim_a_SOURCES = \
+ %D%/modules.c
%C%_libsim_a_SOURCES = \
$(common_libcommon_a_SOURCES)
%C%_libsim_a_LIBADD = \
$(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \
$(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \
$(patsubst %,%D%/dv-%.o,$(%C%_SIM_EXTRA_HW_DEVICES)) \
- %D%/modules.o \
\
%D%/cgen-run.o \
%D%/cgen-scache.o \