diff options
| author | Josh Stone <[email protected]> | 2015-10-05 11:04:15 -0700 |
|---|---|---|
| committer | Josh Stone <[email protected]> | 2015-10-06 17:50:10 -0700 |
| commit | daee4714ee3761e2d92f764a724e83875a79a3f0 (patch) | |
| tree | 9c6bab2d7253ea23706f665bd9bf4da0b2b02988 /backends | |
| parent | 0e3ce39c8f154cb7df7f3a9bf29d347fe9cca036 (diff) | |
Improve AM_SILENT_RULES coverage
Note, elfutils does not explicitly enable AM_SILENT_RULES. It's only
available starting from automake 1.11, but starting from automake 1.13
silent rules are always generated, defaulting to verbose. $(AM_V_foo)
additions should be no-ops on systems that don't support silent rules.
To be silent, use "./configure --enable-silent-rules" or "make V=0".
Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'backends')
| -rw-r--r-- | backends/ChangeLog | 4 | ||||
| -rw-r--r-- | backends/Makefile.am | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 791b9db9..e6f37633 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,7 @@ +2015-10-05 Josh Stone <[email protected]> + + * Makefile.am (libebl_%.so): Add AM_V_at and AM_V_CCLD silencers. + 2015-10-06 Jose E. Marchesi <[email protected]> * sparc_attrs.c: New file. diff --git a/backends/Makefile.am b/backends/Makefile.am index cefe5ebb..f7002fb5 100644 --- a/backends/Makefile.am +++ b/backends/Makefile.am @@ -114,9 +114,9 @@ am_libebl_tilegx_pic_a_OBJECTS = $(tilegx_SRCS:.c=.os) libebl_%.so libebl_%.map: libebl_%_pic.a $(libelf) $(libdw) @rm -f $(@:.so=.map) - echo 'ELFUTILS_$(PACKAGE_VERSION) { global: $*_init; local: *; };' \ + $(AM_V_at)echo 'ELFUTILS_$(PACKAGE_VERSION) { global: $*_init; local: *; };' \ > $(@:.so=.map) - $(LINK) -shared -o $(@:.map=.so) \ + $(AM_V_CCLD)$(LINK) -shared -o $(@:.map=.so) \ -Wl,--whole-archive $< $(cpu_$*) -Wl,--no-whole-archive \ -Wl,--version-script,$(@:.so=.map) \ -Wl,-z,defs -Wl,--as-needed $(libelf) $(libdw) |
