aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-06-03 19:51:40 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-06-04 13:24:01 +0100
commit92a89ee1d99c200adb13728b549222d71b6349ad (patch)
tree2c293ada9f983defac90805f35f8ac8e7af75f6a
parent07284e5ee02c51f3df2ea8fe2370ca3d1d42d84d (diff)
downloadgdb-92a89ee1d99c200adb13728b549222d71b6349ad.zip
gdb-92a89ee1d99c200adb13728b549222d71b6349ad.tar.gz
gdb-92a89ee1d99c200adb13728b549222d71b6349ad.tar.bz2
gdb/Makefile.in: silence recipe for creating .deps/ directories
When building in a fresh directory we'll see some output like this: /bin/sh ../../src/gdb/../mkinstalldirs arch/.deps mkdir -p -- arch/.deps /bin/sh ../../src/gdb/../mkinstalldirs cli/.deps mkdir -p -- cli/.deps /bin/sh ../../src/gdb/../mkinstalldirs dwarf2/.deps mkdir -p -- dwarf2/.deps ... etc ... this commit uses silent-rules.mk to silence this output, now we'll see: GEN arch/.deps GEN cli/.deps GEN dwarf2/.deps ... etc ... The recipe that currently generates these directories uses mkinstalldirs, as I mention in commit 032e5e0c0c08977, mkinstalldirs is deprecated and 'install-sh -d' should be used instead. This silences the 'mkdir -p -- ...' part of the output. There should be no change in what is actually built after this commit. Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 84bc54b..3752bdf 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1949,7 +1949,7 @@ all: gdb$(EXEEXT) $(CONFIG_ALL) gdb-gdb.py gdb-gdb.gdb gcore
$(POSTCOMPILE)
$(CONFIG_DEP_SUBDIR):
- $(SHELL) $(srcdir)/../mkinstalldirs $@
+ $(ECHO_GEN) $(SHELL) $(srcdir)/../install-sh -d $@
# Python files need special flags.
python/%.o: INTERNAL_CFLAGS += $(PYTHON_CFLAGS)