forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
AM_CPPFLAGS_%C% = $(SIM_RX_CYCLE_ACCURATE_FLAGS)
|
||||
|
||||
nodist_%C%_libsim_a_SOURCES = \
|
||||
%D%/modules.c
|
||||
%C%_libsim_a_SOURCES = \
|
||||
$(common_libcommon_a_SOURCES)
|
||||
%C%_libsim_a_LIBADD = \
|
||||
@@ -30,8 +32,7 @@ AM_CPPFLAGS_%C% = $(SIM_RX_CYCLE_ACCURATE_FLAGS)
|
||||
%D%/syscalls.o \
|
||||
%D%/trace.o \
|
||||
%D%/gdb-if.o \
|
||||
%D%/err.o \
|
||||
%D%/modules.o
|
||||
%D%/err.o
|
||||
$(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
|
||||
|
||||
noinst_LIBRARIES += %D%/libsim.a
|
||||
|
||||
Reference in New Issue
Block a user