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:
@@ -16,13 +16,14 @@
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
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%/interp.o \
|
||||
%D%/modules.o \
|
||||
%D%/sim-main.o \
|
||||
%D%/sim-resume.o
|
||||
$(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
|
||||
|
||||
Reference in New Issue
Block a user