On Fri, Feb 18, 2011 at 8:58 AM, Øyvind Harboe <[email protected]> wrote:
> I don't know that Jim supports make -jN....
Jim works fine with make -j2 all . Tested on Ubuntu 10.10 with openOCD
and by itself on Cygwin.
The problem is the combination of -jN, clean and all.
I can reproduce a similar issue on my machine, only a different file is busted:
/bin/bash ../../../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src
-DPKGDATADIR=\"/usr/local/share/openocd\" -I../../../jimtcl
-I../../../jimtcl -g -O2 -Wall -Wstrict-prototypes -Wformat-security
-Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast
-Wcast-align -Wredundant-decls -Werror -MT cfi.lo -MD -MP -MF
.deps/cfi.Tpo -c -o cfi.lo cfi.c
In file included from ../../../src/jtag/jtag.h:695,
from ../../../src/target/avrt.h:23,
from avrf.c:25:
../../../src/jtag/minidriver.h:50: fatal error: jtag/minidriver_imp.h:
No such file or directory
compilation terminated.
This happens *only* when <<make -jN clean all>> and there is something
to clean. The simplest workaround is not to use the combination of -j
clean all in the same make command.
Is there a way to tell only "clean:" to be not parallel?
http://www.gnu.org/software/make/manual/make.html#Special-Targets
Edgar
>
>
>
>
> --
> Øyvind Harboe
>
> Can Zylin Consulting help on your project?
>
> US toll free 1-866-980-3434 / International +47 51 87 40 27
>
> http://www.zylin.com/zy1000.html
> ARM7 ARM9 ARM11 XScale Cortex
> JTAG debugger and flash programmer
>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development