[U-Boot] [PATCH] Makefile: Do not show make debug messages

Nishanth Menon nm at ti.com
Thu Sep 19 15:41:48 CEST 2013


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 at 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 at ti.com>
> 

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

-- 
Regards,
Nishanth Menon


More information about the U-Boot mailing list