diff options
author | Anthony Green <green@redhat.com> | 2009-09-10 21:57:03 +0000 |
---|---|---|
committer | Anthony Green <green@redhat.com> | 2009-09-10 21:57:03 +0000 |
commit | 5c27d164d807fdd1f2eee400a81e74f210193118 (patch) | |
tree | 01e74ea0539961640048ceef9516f524ea371bfa /sim/moxie/Makefile.in | |
parent | ce0bf48891e83c4aa7137bd66a6dd547d55e0ea1 (diff) | |
download | gdb-5c27d164d807fdd1f2eee400a81e74f210193118.zip gdb-5c27d164d807fdd1f2eee400a81e74f210193118.tar.gz gdb-5c27d164d807fdd1f2eee400a81e74f210193118.tar.bz2 |
Use common memory infrastructure and introduce device tree support
Diffstat (limited to 'sim/moxie/Makefile.in')
-rw-r--r-- | sim/moxie/Makefile.in | 19 |
1 files changed, 18 insertions, 1 deletions
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: |