diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-02 16:46:14 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-14 20:53:13 -0500 |
commit | 72be276fffe304a478ecadad34bb89fe33cdf052 (patch) | |
tree | 6b4ac42aa49a60a8a5502fc33829ba3741f32ef9 /sim/erc32/local.mk | |
parent | 4df74707043bf248f248cd52d9c70c29ec4e679c (diff) | |
download | fsf-binutils-gdb-72be276fffe304a478ecadad34bb89fe33cdf052.zip fsf-binutils-gdb-72be276fffe304a478ecadad34bb89fe33cdf052.tar.gz fsf-binutils-gdb-72be276fffe304a478ecadad34bb89fe33cdf052.tar.bz2 |
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.
Diffstat (limited to 'sim/erc32/local.mk')
-rw-r--r-- | sim/erc32/local.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/erc32/local.mk b/sim/erc32/local.mk index a371fbc..2a3f541 100644 --- a/sim/erc32/local.mk +++ b/sim/erc32/local.mk @@ -25,6 +25,8 @@ AM_CPPFLAGS_%C% = $(READLINE_CFLAGS) ## behaviour of UART interrupt routines ... AM_CPPFLAGS_%C% += -DFAST_UART +nodist_%C%_libsim_a_SOURCES = \ + %D%/modules.c %C%_libsim_a_SOURCES = \ $(common_libcommon_a_SOURCES) %C%_libsim_a_LIBADD = \ @@ -33,8 +35,7 @@ AM_CPPFLAGS_%C% += -DFAST_UART %D%/float.o \ %D%/func.o \ %D%/help.o \ - %D%/interf.o \ - %D%/modules.o + %D%/interf.o $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h noinst_LIBRARIES += %D%/libsim.a |