public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] newlib: add silent rules support to top-level rules
@ 2022-02-20  5:27 Mike Frysinger
  2022-02-24  9:53 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2022-02-20  5:27 UTC (permalink / raw)
  To: newlib

---
 newlib/Makefile.am | 58 +++++++++++++++++++++++-----------------------
 newlib/Makefile.in | 58 +++++++++++++++++++++++-----------------------
 2 files changed, 58 insertions(+), 58 deletions(-)

diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 4e8545c2c72b..48bbee6efaa4 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -128,55 +128,55 @@ $(BUILD_MULTISUBDIR):
 	$(MKDIR_P) $@
 
 $(BUILD_MULTISUBDIR)/crt0.o: $(CRT0_DIR)$(CRT0) $(BUILD_MULTISUBDIR)
-	rm -f $@
-	ln $< $@ >/dev/null 2>/dev/null || cp $< $@
+	$(AM_V_at)rm -f $@
+	$(AM_V_GEN)ln $< $@ >/dev/null 2>/dev/null || cp $< $@
 
 $(BUILD_MULTISUBDIR)/libc.a: libc.a $(BUILD_MULTISUBDIR)
-	rm -f $@ $(BUILD_MULTISUBDIR)/libg.a
-	ln $< $@ >/dev/null 2>/dev/null || cp $< $@
+	$(AM_V_at)rm -f $@ $(BUILD_MULTISUBDIR)/libg.a
+	$(AM_V_GEN)ln $< $@ >/dev/null 2>/dev/null || cp $< $@
 	ln libg.a $(BUILD_MULTISUBDIR)/libg.a >/dev/null 2>/dev/null || \
 	cp libg.a $(BUILD_MULTISUBDIR)/libg.a
 
 $(BUILD_MULTISUBDIR)/libm.a: libm.a $(BUILD_MULTISUBDIR)
-	rm -f $@
-	ln $< $@ >/dev/null 2>/dev/null || cp $< $@
+	$(AM_V_at)rm -f $@
+	$(AM_V_GEN)ln $< $@ >/dev/null 2>/dev/null || cp $< $@
 endif
 
 crt0.o: $(CRT0_DIR)$(CRT0)
-	rm -f $@
-	ln $< $@ >/dev/null 2>/dev/null || cp $< $@
+	$(AM_V_at)rm -f $@
+	$(AM_V_GEN)ln $< $@ >/dev/null 2>/dev/null || cp $< $@
 
 $(CRT0_DIR)$(CRT0): stmp-targ-include
 
 crt1.o: $(CRT1_DIR)$(CRT1)
-	rm -f $@
-	ln $< $@ >/dev/null 2>/dev/null || cp $< $@
+	$(AM_V_at)rm -f $@
+	$(AM_V_GEN)ln $< $@ >/dev/null 2>/dev/null || cp $< $@
 
 $(CRT1_DIR)$(CRT1): stmp-targ-include
 
 targ-include:
-	mkdir $@
+	$(AM_V_GEN)$(MKDIR_P) $@
 
 targ-include/newlib.h: targ-include/_newlib_version.h
 
 targ-include/sys targ-include/machine targ-include/bits: targ-include/_newlib_version.h targ-include/newlib.h
-	mkdir $@
+	$(AM_V_GEN)$(MKDIR_P) $@
 
 targ-include/newlib.h: newlib.h targ-include
-	cp newlib.h $@
+	$(AM_V_GEN)cp newlib.h $@
 
 targ-include/_newlib_version.h: _newlib_version.h targ-include
-	cp _newlib_version.h $@
+	$(AM_V_GEN)cp _newlib_version.h $@
 
 # The targ-include directory just holds the includes files for the
 # particular system and machine we have been configured for.  It is
 # used while building.
 stmp-targ-include: config.status
-	-rm -rf targ-include stmp-targ-include
-	$(MAKE) targ-include/sys \
+	$(AM_V_GEN)rm -rf targ-include stmp-targ-include
+	$(AM_V_at)$(MAKE) targ-include/sys \
 		targ-include/machine \
 		targ-include/bits
-	-if [ -n "$(shared_machine_dir)" ]; then \
+	-$(AM_V_at)if [ -n "$(shared_machine_dir)" ]; then \
 	    for i in $(srcdir)/libc/machine/$(shared_machine_dir)/machine/*.h; do \
 		if [ -f $$i ]; then \
 		  cp $$i targ-include/machine/`basename $$i`; \
@@ -193,27 +193,27 @@ stmp-targ-include: config.status
 		else true; fi ; \
 	      done; \
 	  fi
-	-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/machine/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/sys/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
 	    if [ -d $$i ]; then \
 		for j in $$i/*.h; do \
 		    if [ ! -d targ-include/`basename $$i` ]; then \
@@ -223,33 +223,33 @@ stmp-targ-include: config.status
 		done \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/sys/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/bits/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/machine/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/machine/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
+	-$(AM_V_at)for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
 	    if [ -f $$i ]; then \
 	      cp $$i targ-include/machine/`basename $$i`; \
 	    else true; fi ; \
 	  done
-	$(MAKE) targ-include/newlib.h
-	touch $@
+	$(AM_V_at)$(MAKE) targ-include/newlib.h
+	$(AM_V_at)touch $@
 
 CLEANFILES += stmp-targ-include
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] newlib: add silent rules support to top-level rules
  2022-02-20  5:27 [PATCH] newlib: add silent rules support to top-level rules Mike Frysinger
@ 2022-02-24  9:53 ` Corinna Vinschen
  2022-02-25  0:24   ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2022-02-24  9:53 UTC (permalink / raw)
  To: newlib

On Feb 20 00:27, Mike Frysinger wrote:
> ---
>  newlib/Makefile.am | 58 +++++++++++++++++++++++-----------------------
>  newlib/Makefile.in | 58 +++++++++++++++++++++++-----------------------
>  2 files changed, 58 insertions(+), 58 deletions(-)

This one doesn't apply to master anymore.  Can you please rebase it?

Thx,
Corinna


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] newlib: add silent rules support to top-level rules
  2022-02-24  9:53 ` Corinna Vinschen
@ 2022-02-25  0:24   ` Mike Frysinger
  2022-02-25 15:10     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2022-02-25  0:24 UTC (permalink / raw)
  To: newlib

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On 24 Feb 2022 10:53, Corinna Vinschen wrote:
> On Feb 20 00:27, Mike Frysinger wrote:
> > ---
> >  newlib/Makefile.am | 58 +++++++++++++++++++++++-----------------------
> >  newlib/Makefile.in | 58 +++++++++++++++++++++++-----------------------
> >  2 files changed, 58 insertions(+), 58 deletions(-)
> 
> This one doesn't apply to master anymore.  Can you please rebase it?

crap, i pushed it thinking you had LGTM like the others before i actually read
your e-mail.  so it's in master now: 85f2dca52daa7387a13aa483fc0bf69e387f4502.
lmk if you want changes and i'll get them in asap, or can just revert it.
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] newlib: add silent rules support to top-level rules
  2022-02-25  0:24   ` Mike Frysinger
@ 2022-02-25 15:10     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2022-02-25 15:10 UTC (permalink / raw)
  To: newlib

On Feb 24 19:24, Mike Frysinger wrote:
> On 24 Feb 2022 10:53, Corinna Vinschen wrote:
> > On Feb 20 00:27, Mike Frysinger wrote:
> > > ---
> > >  newlib/Makefile.am | 58 +++++++++++++++++++++++-----------------------
> > >  newlib/Makefile.in | 58 +++++++++++++++++++++++-----------------------
> > >  2 files changed, 58 insertions(+), 58 deletions(-)
> > 
> > This one doesn't apply to master anymore.  Can you please rebase it?
> 
> crap, i pushed it thinking you had LGTM like the others before i actually read
> your e-mail.  so it's in master now: 85f2dca52daa7387a13aa483fc0bf69e387f4502.
> lmk if you want changes and i'll get them in asap, or can just revert it.
> -mike

No, it's ok, I just planned to test it, but it appears to work nicely.


Thx,
Corinna


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-25 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-20  5:27 [PATCH] newlib: add silent rules support to top-level rules Mike Frysinger
2022-02-24  9:53 ` Corinna Vinschen
2022-02-25  0:24   ` Mike Frysinger
2022-02-25 15:10     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).