public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Makefile: Do not show make debug messages
@ 2013-09-18  3:01 Masahiro Yamada
  2013-09-19 13:00 ` Nishanth Menon
  2013-09-21 12:07 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Masahiro Yamada @ 2013-09-18  3:01 UTC (permalink / raw)
  To: u-boot

In commit 27af930, the top Makefile was adjusted to the new
boards.cfg format.

But at the same time, -d option was added.

If you configure and make separately, for example
like follows:

    make omap4_panda_config
    make CROSS_COMPILE=<your_compiler_prefix>

it works fine as it did before.

But if you do them in one time like follows:

    make omap4_panda CROSS_COMPILE=<your_compiler_prefix>

The log is sprinkled with annoying make debug messages.

This commit deletes -d option again.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 28ddb7e..bc639b3 100644
--- a/Makefile
+++ b/Makefile
@@ -838,7 +838,7 @@ unconfig:
 
 sinclude $(obj).boards.depend
 $(obj).boards.depend:	boards.cfg
-	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE) -d" }' $< > $@
+	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE)" }' $< > $@
 
 #
 # Functions to generate common board directory names
-- 
1.8.1.2

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

* [U-Boot] [PATCH] Makefile: Do not show make debug messages
  2013-09-18  3:01 [U-Boot] [PATCH] Makefile: Do not show make debug messages Masahiro Yamada
@ 2013-09-19 13:00 ` Nishanth Menon
  2013-09-19 13:41   ` Nishanth Menon
  2013-09-21 12:07 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Nishanth Menon @ 2013-09-19 13:00 UTC (permalink / raw)
  To: u-boot

On 09/17/2013 10:01 PM, Masahiro Yamada wrote:
> In commit 27af930, the top Makefile was adjusted to the new
> boards.cfg format.
> 
> But at the same time, -d option was added.
> 
> If you configure and make separately, for example
> like follows:
> 
>     make omap4_panda_config
>     make CROSS_COMPILE=<your_compiler_prefix>
> 
> it works fine as it did before.
> 
> But if you do them in one time like follows:
> 
>     make omap4_panda CROSS_COMPILE=<your_compiler_prefix>
> 
> The log is sprinkled with annoying make debug messages.
> 
> This commit deletes -d option again.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 28ddb7e..bc639b3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -838,7 +838,7 @@ unconfig:
>  
>  sinclude $(obj).boards.depend
>  $(obj).boards.depend:	boards.cfg
> -	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE) -d" }' $< > $@
> +	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE)" }' $< > $@
>  
>  #
>  # Functions to generate common board directory names
> 

Thanks - this helped me.

Before log: http://pastebin.com/92HdiQdP
After log: http://pastebin.com/7UnYdajd

Tested-by: Nishanth Menon  <nm@ti.com>

-- 
Regards,
Nishanth Menon

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

* [U-Boot] [PATCH] Makefile: Do not show make debug messages
  2013-09-19 13:00 ` Nishanth Menon
@ 2013-09-19 13:41   ` Nishanth Menon
  0 siblings, 0 replies; 4+ messages in thread
From: Nishanth Menon @ 2013-09-19 13:41 UTC (permalink / raw)
  To: u-boot

On 09/19/2013 08:00 AM, Nishanth Menon wrote:
> On 09/17/2013 10:01 PM, Masahiro Yamada wrote:
>> In commit 27af930, the top Makefile was adjusted to the new
>> boards.cfg format.
>>
>> But at the same time, -d option was added.
>>
>> If you configure and make separately, for example
>> like follows:
>>
>>     make omap4_panda_config
>>     make CROSS_COMPILE=<your_compiler_prefix>
>>
>> it works fine as it did before.
>>
>> But if you do them in one time like follows:
>>
>>     make omap4_panda CROSS_COMPILE=<your_compiler_prefix>
>>
>> The log is sprinkled with annoying make debug messages.
>>
>> This commit deletes -d option again.
>>
>> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
>> ---
>>  Makefile | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Makefile b/Makefile
>> index 28ddb7e..bc639b3 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -838,7 +838,7 @@ unconfig:
>>  
>>  sinclude $(obj).boards.depend
>>  $(obj).boards.depend:	boards.cfg
>> -	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE) -d" }' $< > $@
>> +	@awk '(NF && $$1 !~ /^#/) { print $$7 ": " $$7 "_config; $$(MAKE)" }' $< > $@
>>  
>>  #
>>  # Functions to generate common board directory names
>>
> 
> Thanks - this helped me.
> 
> Before log: http://pastebin.com/92HdiQdP
> After log: http://pastebin.com/7UnYdajd
> 
> Tested-by: Nishanth Menon  <nm@ti.com>
> 

just a side note: if one has already tried building,
git clean -fdx
helps remove the mess..

-- 
Regards,
Nishanth Menon

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

* [U-Boot] Makefile: Do not show make debug messages
  2013-09-18  3:01 [U-Boot] [PATCH] Makefile: Do not show make debug messages Masahiro Yamada
  2013-09-19 13:00 ` Nishanth Menon
@ 2013-09-21 12:07 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2013-09-21 12:07 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 18, 2013 at 12:01:27PM +0900, Masahiro Yamada wrote:

> In commit 27af930, the top Makefile was adjusted to the new
> boards.cfg format.
> 
> But at the same time, -d option was added.
> 
> If you configure and make separately, for example
> like follows:
> 
>     make omap4_panda_config
>     make CROSS_COMPILE=<your_compiler_prefix>
> 
> it works fine as it did before.
> 
> But if you do them in one time like follows:
> 
>     make omap4_panda CROSS_COMPILE=<your_compiler_prefix>
> 
> The log is sprinkled with annoying make debug messages.
> 
> This commit deletes -d option again.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Tested-by: Nishanth Menon  <nm@ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130921/001b5f5e/attachment.pgp>

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

end of thread, other threads:[~2013-09-21 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-18  3:01 [U-Boot] [PATCH] Makefile: Do not show make debug messages Masahiro Yamada
2013-09-19 13:00 ` Nishanth Menon
2013-09-19 13:41   ` Nishanth Menon
2013-09-21 12:07 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox