Re: [PATCH V2] kbuild: silence generated makefile message

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

 



On Mon, Jun 27, 2011 at 07:33:54PM -0400, Peter Foley wrote:
> 
> This patch silences the "make -C /usr/src/git O=/usr/src/git/build/." 
> message shown when using the generated makefile in KBUILD_OUTDIR.
> 
> 
> Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
> ---
> 
> V2: Show message when V=1
> 
>  scripts/mkmakefile |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/mkmakefile b/scripts/mkmakefile
> index 5325423..ea26f37 100644
> --- a/scripts/mkmakefile
> +++ b/scripts/mkmakefile
> @@ -30,6 +30,10 @@ PATCHLEVEL = $4
>  lastword = \$(word \$(words \$(1)),\$(1))
>  makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
>  
> +ifneq (\$(V),1)
> +Q := @
> +endif

Please check if V=1 is passed on the commandline and not set in the
environmnent, like the toplevel Makefile does:

ifeq ("$(origin V)", "command line")
...

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux