This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch, moxie, sim] Use common memory infrastructure & introduce device tree source
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at moxielogic dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 11 Sep 2009 15:44:14 -0600
- Subject: Re: [Patch, moxie, sim] Use common memory infrastructure & introduce device tree source
- References: <1252619996.7349.24.camel@localhost.localdomain>
- Reply-to: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green@moxielogic.com> writes:
Anthony> Index: sim/moxie/Makefile.in
Anthony> ===================================================================
This doesn't use the new subst "DTC".
Anthony> +all: interp.o moxie-gdb.dtb
Anthony> +moxie-gdb.dtb: moxie-gdb.dts
Anthony> + dtc -O dtb -o moxie-gdb.dtb ${srcdir}/moxie-gdb.dts
Also, it unconditionally runs dtc.
Is it intended to work if dtc is not found?
If so then this stuff should be conditional somehow.
Anthony> +AC_CHECK_TOOL(DTC, dtc)
Otherwise, if dtc is always necessary, then there's no need for this
check.
Tom