From 5c27d164d807fdd1f2eee400a81e74f210193118 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Thu, 10 Sep 2009 21:57:03 +0000 Subject: Use common memory infrastructure and introduce device tree support --- sim/moxie/Makefile.in | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'sim/moxie/Makefile.in') diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in index 9b00b09..a06ee22 100644 --- a/sim/moxie/Makefile.in +++ b/sim/moxie/Makefile.in @@ -18,12 +18,29 @@ ## COMMON_PRE_CONFIG_FRAG -SIM_OBJS = interp.o sim-load.o +dtbdir = @datadir@/gdb-`sed q ${srcdir}/../../gdb/version.in`/dtb + +SIM_OBJS = interp.o sim-load.o sim-io.o sim-config.o sim-utils.o \ +sim-options.o sim-module.o sim-core.o sim-endian.o sim-trace.o \ +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 +moxie-gdb.dtb: moxie-gdb.dts + dtc -O dtb -o moxie-gdb.dtb ${srcdir}/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: -- cgit v1.1