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/bpf/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sim/bpf') diff --git a/sim/bpf/local.mk b/sim/bpf/local.mk index 80bf775..04f06e3 100644 --- a/sim/bpf/local.mk +++ b/sim/bpf/local.mk @@ -23,12 +23,13 @@ AM_CPPFLAGS_%C%_decode_be.o = -DWANT_ISA_EBPFBE AM_CPPFLAGS_%C%_sem_le.o = -DWANT_ISA_EBPFLE AM_CPPFLAGS_%C%_sem_be.o = -DWANT_ISA_EBPFBE +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)) \ - %D%/modules.o \ \ %D%/cgen-run.o \ %D%/cgen-scache.o \ -- cgit v1.1