mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Always build 'all' in gdb/testsuite
gdb's Makefile currently excludes testsuite from the subdirectories to build. I don't think there's a good reason for this, so this patch adds testsuite to the SUBDIRS list and removes a special case from 'all'. gdb/ChangeLog 2021-06-01 Tom Tromey <tromey@adacore.com> * Makefile.in (SUBDIRS): Add testsuite. (all): Don't exclude testsuite.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2021-06-01 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
|
* Makefile.in (SUBDIRS): Add testsuite.
|
||||||
|
(all): Don't exclude testsuite.
|
||||||
|
|
||||||
2021-06-01 Tom Tromey <tromey@adacore.com>
|
2021-06-01 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* configure.ac: Copy some code from testsuite/configure.ac.
|
* configure.ac: Copy some code from testsuite/configure.ac.
|
||||||
|
@ -1591,7 +1591,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
|
|||||||
$(SUBDIR_TARGET_OBS) \
|
$(SUBDIR_TARGET_OBS) \
|
||||||
$(SUBDIR_GCC_COMPILE_OBS)
|
$(SUBDIR_GCC_COMPILE_OBS)
|
||||||
|
|
||||||
SUBDIRS = doc @subdirs@ data-directory
|
SUBDIRS = doc @subdirs@ data-directory testsuite
|
||||||
CLEANDIRS = $(SUBDIRS)
|
CLEANDIRS = $(SUBDIRS)
|
||||||
|
|
||||||
# List of subdirectories in the build tree that must exist.
|
# List of subdirectories in the build tree that must exist.
|
||||||
@ -1633,7 +1633,7 @@ generated_files = \
|
|||||||
PYTHON_CFLAGS = @PYTHON_CFLAGS@
|
PYTHON_CFLAGS = @PYTHON_CFLAGS@
|
||||||
|
|
||||||
all: gdb$(EXEEXT) $(CONFIG_ALL) gdb-gdb.py gdb-gdb.gdb
|
all: gdb$(EXEEXT) $(CONFIG_ALL) gdb-gdb.py gdb-gdb.gdb
|
||||||
@$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
|
@$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=$(SUBDIRS)" subdir_do
|
||||||
|
|
||||||
# Rule for compiling .c files in the top-level gdb directory.
|
# Rule for compiling .c files in the top-level gdb directory.
|
||||||
# The order-only dependencies ensure that we create the build subdirectories.
|
# The order-only dependencies ensure that we create the build subdirectories.
|
||||||
|
Reference in New Issue
Block a user