[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make -s, how to make it quiet?

From: Joakim Tjernlund
Subject: Re: make -s, how to make it quiet?
Date: Sat, 06 Sep 2008 20:36:36 +0200

On Sat, 2008-09-06 at 19:54 +0200, 'Ralf Wildenhues' wrote:
> * Joakim Tjernlund wrote on Sat, Sep 06, 2008 at 07:39:53PM CEST:
> > On Sat, 2008-09-06 at 18:07 +0200, 'Ralf Wildenhues' wrote:
> > > 
> > > Please be more specific.  Post example output for an Automake-using
> > > package that you see that you would like to not see.
> > OK, here is some output:
> > 
> > #>  make -s oa
> [...]
> > As you can see the whole compile line is there, it should not be thet
> > when using -s to make.
> Thanks.  I don't see how this should happen with compile rules generated
> by any recent Automake version.  So there is something else going on:
> either an ancient version I have no memory over how it worked,
> hand-written rules by the package's author, some override of MAKEFLAGS
> in the files (could be up the tree somewhere) that drop the
> -s flag.  Could be a weird make; is this GNU make?  Which version?

make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

This program built for i686-pc-linux-gnu

But the same make works fine for u-boot, u-boot does not use auto* as
far as I know.

"grep echo Makefile" in auto* generated Makefile shows
ECHO = echo
            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
            echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
            echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p 
$(DESTDIR)$(libdir)/$$p"; \
            echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p 
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 
's/$$/$(EXEEXT)/'`"; \
            $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p 
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 
's/$$/$(EXEEXT)/'`; \
          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed 
'$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
        unique=`for i in $$list; do echo $$i; done | \
        unique=`for i in $$list; do echo $$i; done | \
        @echo '$(COMPILE) -c $<'; \
        @echo '$(LTCOMPILE) -c $<'; \
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."

Notice the "@echo '$(COMPILE) -c $<'; \"
Seems like the is a deliberate echo there


reply via email to

[Prev in Thread] Current Thread [Next in Thread]