This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Remove make gnu-ism in gdbserver
- From: Yao Qi <yao at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 01 Mar 2011 15:03:05 +0800
- Subject: Remove make gnu-ism in gdbserver
On 03/01/2011 01:46 PM, Yao Qi wrote:
> 3. GNU make feature,
> http://sourceware.org/ml/gdb-patches/2011-02/msg00489.html
> Since we decide not to require GNU make, I'll remove its GNU make feature.
This patch is to fix this problem above. This patch should be applied
top of my "make-clean fix" patch
(http://sourceware.org/ml/gdb-patches/2011-03/msg00020.html).
--
Yao (éå)
gdb/gdbserver/
* Makefile.in: Remove GNU make feature --direcotry.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index d27c942..14ee91f 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -200,7 +200,7 @@ FLAGS_TO_PASS = \
all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
- @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
+ @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
common/Makefile: configure-common config.status
CONFIG_FILES="common/Makefile" \