summaryrefslogtreecommitdiff
path: root/sim/m32r/local.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-01 14:14:05 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-10 01:15:28 -0500
commit9b5a17d2be51a9d84df4934bf1262441cd1a2ca1 (patch)
tree5bd4e105d7b2b5d5f48ad076affa1d71e9caebf6 /sim/m32r/local.mk
parentcd7aa21771c75387148d52e6bbc6adfd911db10e (diff)
downloadbinutils-gdb-9b5a17d2be51a9d84df4934bf1262441cd1a2ca1.tar.gz
sim: m32r: move arch-specific file compilation to top-level
Diffstat (limited to 'sim/m32r/local.mk')
-rw-r--r--sim/m32r/local.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/sim/m32r/local.mk b/sim/m32r/local.mk
index afecaf6c8bc..3ccfce79b09 100644
--- a/sim/m32r/local.mk
+++ b/sim/m32r/local.mk
@@ -16,6 +16,20 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
+## Some modules don't build cleanly yet.
+AM_CFLAGS_%C%_cpu.o = -Wno-error
+AM_CFLAGS_%C%_cpu2.o = -Wno-error
+AM_CFLAGS_%C%_cpux.o = -Wno-error
+AM_CFLAGS_%C%_m32r.o = -Wno-error
+AM_CFLAGS_%C%_m32r2.o = -Wno-error
+AM_CFLAGS_%C%_m32rx.o = -Wno-error
+AM_CFLAGS_%C%_mloop.o = -Wno-error
+AM_CFLAGS_%C%_mloop2.o = -Wno-error
+AM_CFLAGS_%C%_mloopx.o = -Wno-error
+AM_CFLAGS_%C%_sem.o = -Wno-error
+AM_CFLAGS_%C%_sim_if.o = -Wno-error
+AM_CFLAGS_%C%_traps.o = -Wno-error
+
%C%_libsim_a_SOURCES =
%C%_libsim_a_LIBADD = \
$(common_libcommon_a_OBJECTS) \
@@ -56,9 +70,6 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
noinst_LIBRARIES += %D%/libsim.a
-%D%/%.o: %D%/%.c
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
%D%/%.o: common/%.c
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)