On Fri, 2009-12-04 at 16:03 +0100, Øyvind Harboe wrote: > It's getting there, see oharboe/fixminidriver. > > I had to mess with lots of Makefile.am to pollute the include path. If I > can get that out of the way, then I should be able to clean up the > rest too
Yeah, those changes should not go into the tree as-is. They make a total mess of the build system. In your second patch, the drivers/minidriver_imp.h patch is close, but a little buggy. You #define and declare the same function; the declared version should be the _imp version. Seeing your new patch gives me a new idea for how to fix things: 1) In jtag/Makefile, use BUILT_SOURCES to copy the proper minidriver_imp.h (and jtag_minidriver.h, if needed) into the jtag directory. 2) #include <jtag/minidriver_imp.h> and <jtag/jtag_minidriver_h.> Will that work? It should, allowing to kill your first patch too. --Z _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
