aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/local.mk')
-rw-r--r--sim/or1k/local.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/or1k/local.mk b/sim/or1k/local.mk
index 2362558..d0201ae 100644
--- a/sim/or1k/local.mk
+++ b/sim/or1k/local.mk
@@ -46,6 +46,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