From 72be276fffe304a478ecadad34bb89fe33cdf052 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 Jan 2023 16:46:14 -0500 Subject: 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. --- sim/mn10300/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sim/mn10300') diff --git a/sim/mn10300/local.mk b/sim/mn10300/local.mk index 1eae112..f7c2d55 100644 --- a/sim/mn10300/local.mk +++ b/sim/mn10300/local.mk @@ -20,6 +20,8 @@ AM_CPPFLAGS_%C% = \ -DPOLL_QUIT_INTERVAL=0x20 \ -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 +nodist_%C%_libsim_a_SOURCES = \ + %D%/modules.c %C%_libsim_a_SOURCES = \ $(common_libcommon_a_SOURCES) %C%_libsim_a_LIBADD = \ @@ -34,7 +36,6 @@ AM_CPPFLAGS_%C% = \ $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \ $(patsubst %,%D%/dv-%.o,$(%C%_SIM_EXTRA_HW_DEVICES)) \ %D%/interp.o \ - %D%/modules.o \ %D%/op_utils.o \ %D%/sim-resume.o $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h -- cgit v1.1