OSDN Git Service

gdbserver: configure + make clean fails (no 'common' subdir)
authorbrobecke <brobecke>
Sun, 6 Mar 2011 07:40:52 +0000 (07:40 +0000)
committerbrobecke <brobecke>
Sun, 6 Mar 2011 07:40:52 +0000 (07:40 +0000)
commit214451dfdece16275e2df9c027b18e6ae587de11
tree355e7605210d5e43c80b5c3ff3c0028c1f223402
parent85a9801c370d904119c885ec812953dd3a326679
gdbserver: configure + make clean fails (no 'common' subdir)

This problem was noticed during the nightly snapshot build,
but can be reduced to:

        % /path/to/gdb/gdbserver/configure
        % make clean

The "make clean" fails, because it tries to do a "make clean"
in the common/ subdirectory.  But the problem is that this
common/ subdirectory is NOT created during the configure phase,
but rather during the build phase.  The error is fatal because
we had put the common subdirectory in the list of REQUIRED_SUBDIRS.

This fixes the problem by removing it from the REQUIRED_SUBDIRS
list.

gdb/gdbserver/ChangeLog:

        * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in