aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32')
-rw-r--r--sim/lm32/local.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/lm32/local.mk b/sim/lm32/local.mk
index f4a4233..404ba5d 100644
--- a/sim/lm32/local.mk
+++ b/sim/lm32/local.mk
@@ -45,6 +45,9 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
noinst_LIBRARIES += %D%/libsim.a
+## Override wildcards that trigger common/modules.c to be (incorrectly) used.
+%D%/modules.o: %D%/modules.c
+
%D%/%.o: common/%.c ; $(SIM_COMPILE)
-@am__include@ %D%/$(DEPDIR)/*.Po