diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-04-05 10:53:00 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-04-08 10:25:40 +0100 |
commit | b6a12c14513f1c46a74a78eebe0e57a7e3c93846 (patch) | |
tree | 2a4ef8a4273b4a4fa31e66495c0f0fec24af1cea | |
parent | cb1bef582e37d29281a5a5ebd99605d55afb16a0 (diff) | |
download | gdb-b6a12c14513f1c46a74a78eebe0e57a7e3c93846.zip gdb-b6a12c14513f1c46a74a78eebe0e57a7e3c93846.tar.gz gdb-b6a12c14513f1c46a74a78eebe0e57a7e3c93846.tar.bz2 |
gdb/Makefile: Print 'GEN' message, and pass SILENT_FLAG more
The targets that use config.status to regenerate themselves don't
currently follow the silent rules that the rest of GDB's Makefile
does. For example, touch the gdb/gcore.in file and then 'make all' in
the gdb/ directory prints:
/bin/sh config.status gcore
config.status: creating gcore
In this commit I make use of the silent-rules.mk mechanism for these
targets, now we get:
GEN gcore
Which matches the rest of our Makefile. Obviously, if you pass 'V=1'
to the build then you'll get the old output back.
There's no change in what is generated after this commit.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r-- | gdb/Makefile.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c1b3144..e9a6247 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2307,31 +2307,31 @@ subdir_do: force done Makefile: Makefile.in config.status - $(SHELL) config.status $@ + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@ .PHONY: run run: Makefile ./gdb$(EXEEXT) --data-directory=`pwd`/data-directory $(GDBFLAGS) jit-reader.h: $(srcdir)/jit-reader.in config.status - $(SHELL) config.status $@ + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@ gcore: $(srcdir)/gcore.in config.status - $(SHELL) config.status $@ + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@ gdb-gdb.py: $(srcdir)/gdb-gdb.py.in config.status - $(SHELL) config.status $@ + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@ gdb-gdb.gdb: $(srcdir)/gdb-gdb.gdb.in config.status - $(SHELL) config.status $@ + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) $@ config.h: stamp-h ; @true stamp-h: $(srcdir)/config.in config.status - $(SHELL) config.status config.h + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) config.h nm.h: stamp-nmh ; @true stamp-nmh: config.status - $(SHELL) config.status nm.h + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) nm.h # Files included from config.status or the configure script. When # these change the configure script doesn't need regenerating, but its @@ -2345,7 +2345,7 @@ config_status_deps = \ $(srcdir)/../bfd/config.bfd config.status: $(config_status_deps) - $(SHELL) config.status --recheck + $(ECHO_GEN) $(SHELL) config.status $(SILENT_FLAG) --recheck ACLOCAL = aclocal |