Interesting simple item that may be related to the real problem:
I have the latest openocd 131rc2 (and make utilities) installed.
The following is done from a windows command shell in a directory that does not have a makefile:
C:\usr>make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-mingw32
C:\usr>sh
sh-2.04$ make -v
make: *** No targets specified and no makefile found. Stop.
sh-2.04$ exit
exit
C:\usr>
Note that the -v argument is ignored when make is called from sh. All arguments are ignored when make is called from sh. What could be the problem?
The real issue I’m trying to solve is invocation of sub makes in subdirectories from a master make file. It is difficult to do when make ignores its command line options. This technique works fine under cygwin, but I would like to stick with yagarto instead of compiling my own toolchain if possible.
Thanks for the help.