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/mips/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sim/mips') 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 -- cgit v1.1