lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110701134733.GB25895@sepie.suse.cz>
Date:	Fri, 1 Jul 2011 15:47:34 +0200
From:	Michal Marek <mmarek@...e.cz>
To:	Peter Foley <pefoley2@...izon.net>
Cc:	Arnaud Lacombe <lacombar@...il.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Kbuild Mailing List <linux-kbuild@...r.kernel.org>
Subject: Re: [PATCH V2] kbuild: silence generated makefile message

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@...izon.net>
> ---
> 
> 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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ