Re: Remove make gnu-ism in gdbserver

Ulrich Weigand
2011-03-04T17:02:19Z

Yao Qi wrote:

> $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
> - @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
> + @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do

This breaks building gdbserver completely for me:

make[4]: Entering directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[5]: Entering directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[5]: *** No rule to make target `subdir_do'. Stop.
make[5]: Leaving directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[4]: *** [common/libcommon.a] Error 2

And indeed there is no make target "subdir_do" in the gdbserver Makefile ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com