Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Yao Qi
2011-02-12T13:06:19Z

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

On 01/20/2011 06:01 AM, Yao Qi wrote:
> @@ -873,13 +878,13 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
> TSOBS = inflow.o
>
> SUBDIRS = doc @subdirs@ data-directory
> -CLEANDIRS = $(SUBDIRS) gnulib
> +CLEANDIRS = $(SUBDIRS) gnulib common

This chunk of patch should be reverted, because `common' is added in
SUBDIRS via 'AC_CONFIG_SUBDIRS(common)' in configure.ac, so there are
two `common' in CLEANDIRS.

Applied.

--
Yao (é½å°§)

[-- Attachment #2: dup-common.patch --]
[-- Type: text/x-patch, Size: 656 bytes --]

2011-02-12 Yao Qi <yao@codesourcery.com>

* Makefile.in (CLEANDIRS): Remove duplicated common dir.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1150
diff -u -r1.1150 Makefile.in
--- Makefile.in 11 Feb 2011 09:57:24 -0000 1.1150
+++ Makefile.in 12 Feb 2011 11:00:06 -0000
@@ -902,7 +902,7 @@
TSOBS = inflow.o

SUBDIRS = doc @subdirs@ data-directory
-CLEANDIRS = $(SUBDIRS) gnulib common
+CLEANDIRS = $(SUBDIRS) gnulib

# List of subdirectories in the build tree that must exist.
# This is used to force build failures in existing trees when