diff mbox

kbuild: silence generated makefile message

Message ID alpine.LNX.2.00.1106271619350.24034@linux (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Foley June 27, 2011, 9:42 p.m. UTC
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@verizon.net>
---
 scripts/mkmakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Arnaud Lacombe June 27, 2011, 11 p.m. UTC | #1
Hi,

On Mon, Jun 27, 2011 at 5:42 PM, Peter Foley <pefoley2@verizon.net> 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.
>
I would expect verbose build to show that message. not hides it
unconditionally, no ?

 - Arnaud

> Signed-off-by: Peter Foley <pefoley2@verizon.net>
> ---
>  scripts/mkmakefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/mkmakefile b/scripts/mkmakefile
> index 5325423..f4642f2 100644
> --- a/scripts/mkmakefile
> +++ b/scripts/mkmakefile
> @@ -40,7 +40,7 @@ MAKEFLAGS += --no-print-directory
>  all    := \$(filter-out all Makefile,\$(MAKECMDGOALS))
>
>  all:
> -       \$(MAKE) \$(MAKEARGS) \$(all)
> +       @\$(MAKE) \$(MAKEARGS) \$(all)
>
>  Makefile:;
>
> --
> 1.7.5.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Peter Foley June 27, 2011, 11:16 p.m. UTC | #2
On Mon, 27 Jun 2011, Arnaud Lacombe wrote:

> Hi,
> 
> On Mon, Jun 27, 2011 at 5:42 PM, Peter Foley <pefoley2@verizon.net> 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.
> >
> I would expect verbose build to show that message. not hides it
> unconditionally, no ?
> 
>  - Arnaud
> 

Good point, I'll fix that.

Thanks,

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

Patch

diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 5325423..f4642f2 100644
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -40,7 +40,7 @@  MAKEFLAGS += --no-print-directory
 all	:= \$(filter-out all Makefile,\$(MAKECMDGOALS))
 
 all:
-	\$(MAKE) \$(MAKEARGS) \$(all)
+	@\$(MAKE) \$(MAKEARGS) \$(all)
 
 Makefile:;