From: Tom Tromey Date: Tue, 1 Jun 2021 14:11:30 +0000 (-0600) Subject: Remove some gdb/data-directory special cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=906f72d454d159f0a116d0a1039616361d2160cb;p=binutils-gdb.git Remove some gdb/data-directory special cases I found an odd special case for data-directory in gdb's Makefile. I don't see a reason to have this, so this removes it in favor of having this code work in the most ordinary way for a subdirectory build. gdb/ChangeLog 2021-06-01 Tom Tromey * Makefile.in (all-data-directory): Remove. (data-directory/Makefile): Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 87e2a13fcc4..1ca03b4e17a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-06-01 Tom Tromey + + * Makefile.in (all-data-directory): Remove. + (data-directory/Makefile): Remove. + 2021-06-01 Tom Tromey * configure: Rebuild. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f66f437f4f3..f664d964536 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1886,11 +1886,6 @@ ifneq ($(CODESIGN_CERT),) $(ECHO_SIGN) $(CODESIGN) -s $(CODESIGN_CERT) gdb$(EXEEXT) endif -# Convenience rule to handle recursion. -.PHONY: all-data-directory -all-data-directory: data-directory/Makefile - @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=data-directory subdir_do - # This is useful when debugging GDB, because some Unix's don't let you run GDB # on itself without copying the executable. So "make gdb1" will make # gdb and put a copy in gdb1, and you can run it with "gdb gdb1". @@ -1990,9 +1985,6 @@ subdir_do: force Makefile: Makefile.in config.status $(SHELL) config.status $@ -data-directory/Makefile: data-directory/Makefile.in config.status - $(SHELL) config.status $@ - .PHONY: run run: Makefile ./gdb$(EXEEXT) --data-directory=`pwd`/data-directory $(GDBFLAGS)