Remove make gnu-ism in gdbserver

Yao Qi
2011-03-01T07:03:15Z

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

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 (é½å°§)

[-- Attachment #2: remove-gdbserver-gnu-0301.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]

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" \