sim: mcore/moxie: clean up makefiles a bit

Clean out stub targets and rules that get autogenerated.
This commit is contained in:
Mike Frysinger 2015-03-14 07:46:54 -04:00
parent c1e768db52
commit 41cc895fc8
4 changed files with 12 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CLEAN): Delete.
(interp.o, mcore-clean): Delete rules.
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Set to

View File

@ -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:

View File

@ -1,3 +1,9 @@
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CLEAN): Delete.
(all): Drop interp.o dependency.
(interp.o, mcore-clean): Delete rules.
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Set to

View File

@ -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: