On Sat, 2009-12-05 at 08:25 +0100, Øyvind Harboe wrote:
> This worked pretty well, but there are lots of (to me) inexplicable
> -I's on the command line still and none of them point to the right
> place in the build tree. I'm testing minidummy build != src dir.
> 
> oharboe/fixminidriver2
> 
> ../openocd/configure --enable-minidriver-dummy --enable-maintainer-mode
> 
> make
> 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.
> -I../../../zy1000/openocd/src/jtag -I../..
> -I../../../zy1000/openocd/src
> -I../../../zy1000/openocd/src/jtag/minidriver -g -O2 -Wall
> -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter
> -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT core.lo
> -MD -MP -MF .deps/core.Tpo -c ../../../zy1000/openocd/src/jtag/core.c
> -o core.o
> In file included from ../../../zy1000/openocd/src/jtag/jtag.h:729,
>                  from ../../../zy1000/openocd/src/jtag/core.c:34:
> ../../../zy1000/openocd/src/jtag/minidriver.h:50:33: error:
> jtag/minidriver_imp.h: No such file or directory
> cc1: warnings being treated as errors

At the least, the -I$(srcdir)/jtag/minidriver should be gone, and I'd
guess you didn't add the two header names to BUILT_SOURCES so their
rules get called before everything else.

At this point, I need to see a new series, so please mirror or post
them.  I don't know what you've done to tell you how to fix it. :)

--Z

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to