On Tuesday 13 October 2009, Øyvind Harboe wrote: > On Tue, Oct 13, 2009 at 10:47 AM, David Brownell <davi...@pacbell.net> wrote: > > On Monday 12 October 2009, David Brownell wrote: > >> Something needs to add a "-I$(SRCDIR)", or equivalent, to > >> the options used to invoke the assembler. > > > > Looks like the src/target/Makefile.am is already set up > > with a boatload of "-I..." options, which omit the target > > directory ... please try adding it to that list. > > I tried, didn't work.
Yeah ... this seemed to behave for me, I just did a test build of a snapshot with the build directory separate from the source. Does this behave for you too? --- src/target/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -10,6 +10,11 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/xsvf +# ideally this would be specific to xscale_debug.S ... +libtarget_la_CCASFLAGS = \ + -Wa,-I$(top_srcdir)/src/target \ + $(AM_CCASFLAGS) + METASOURCES = AUTO noinst_LTLIBRARIES = libtarget.la libtarget_la_SOURCES = \ _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development