From 41cc895fc88dc6d69253fb29ad4ad85c3c851254 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Mar 2015 07:46:54 -0400 Subject: [PATCH] sim: mcore/moxie: clean up makefiles a bit Clean out stub targets and rules that get autogenerated. --- sim/mcore/ChangeLog | 5 +++++ sim/mcore/Makefile.in | 5 ----- sim/moxie/ChangeLog | 6 ++++++ sim/moxie/Makefile.in | 7 +------ 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index 5e3bf17058c..5d9fb6b5bb4 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,8 @@ +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_EXTRA_CLEAN): Delete. + (interp.o, mcore-clean): Delete rules. + 2015-03-14 Mike Frysinger * Makefile.in (SIM_EXTRA_CFLAGS): Set to diff --git a/sim/mcore/Makefile.in b/sim/mcore/Makefile.in index a1110b2cb3f..8fbe0d36962 100644 --- a/sim/mcore/Makefile.in +++ b/sim/mcore/Makefile.in @@ -23,10 +23,5 @@ SIM_EXTRA_CFLAGS = -DSIM_USE_DEPRECATED_RUN_FRONTEND SIM_OBJS = interp.o sim-load.o SIM_EXTRA_LIBS = -lm -SIM_EXTRA_CLEAN = mcore-clean ## COMMON_POST_CONFIG_FRAG - -interp.o: interp.c - -mcore-clean: diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 8e2f5fbe9c6..bcdc1fa9ab6 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,9 @@ +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_EXTRA_CLEAN): Delete. + (all): Drop interp.o dependency. + (interp.o, mcore-clean): Delete rules. + 2015-03-14 Mike Frysinger * Makefile.in (SIM_EXTRA_CFLAGS): Set to diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index 1f7587c5799..8f1a2aa656a 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -29,15 +29,12 @@ sim-engine.o sim-fpu.o sim-bits.o sim-profile.o sim-events.o \ sim-memopt.o SIM_EXTRA_LIBS = -lm -lz -SIM_EXTRA_CLEAN = moxie-clean SIM_EXTRA_INSTALL = install-dtb SIM_CFLAGS = -DDTB="\"$(dtbdir)/moxie-gdb.dtb\"" ## COMMON_POST_CONFIG_FRAG -all: interp.o moxie-gdb.dtb - -interp.o: interp.c +all: moxie-gdb.dtb moxie-gdb.dtb: moxie-gdb.dts dtc -O dtb -o moxie-gdb.dtb ${srcdir}/moxie-gdb.dts @@ -45,5 +42,3 @@ moxie-gdb.dtb: moxie-gdb.dts install-dtb: moxie-gdb.dtb $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(dtbdir) $(INSTALL_DATA) moxie-gdb.dtb $(DESTDIR)$(dtbdir)/moxie-gdb.dtb - -moxie-clean: -- 2.30.2