On Sat, Dec 5, 2009 at 8:45 AM, Zach Welch <z...@superlucidity.net> wrote:
> On Sat, 2009-12-05 at 08:35 +0100, Øyvind Harboe wrote:
>> The approach seems to work fine, but requires that some other
>> issues are sorted out first with include dirs.
>>
>> >From error message above, there are two "strange" -I additions:
>>
>> NB! build != src dir
>>
>> -I. => current build directory
>> -I../.. => this is the root build dir, so I would have to include
>> include <src/jtag/minidriver_imp.h>. Was this supposed to be
>> the build/src dir instead?
>>
>> I don't know where the two above are defined, but at the top of each
>> Makefile.am there is a
>>
>> AM_CPPFLAGS = \
>>       -I$(top_srcdir)/src
>>
>> Should this include the build/src dir as well?
>>
>>
>
> You got it.  We need to add "-I$(top_builddir)/src" to all directories
> now that we are talking about generating them on the fly.
>
> Do that in a separate patch please.  :)

Seems to build now (oharboe/fixminidriver3) I need to clean up
and run tests, but it should be plain sailing from here on.

-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to