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. :) --Z _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development