This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Remove make gnu-ism in gdbserver
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: yao at codesourcery dot com (Yao Qi)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 4 Mar 2011 18:02:05 +0100 (CET)
- Subject: Re: Remove make gnu-ism in gdbserver
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