Skip to contentSkip to conversation

Makefile: Do not show make debug messages

PATCH In review Masahiro Yamada 3 participants 4 messages Sep 18, 2013 – Sep 21, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Do not show make debug messages

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.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 28ddb7e..bc639b3 100644
@@ -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
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 Makefile: Do not show make debug messages

Quoted 32 lines · Masahiro Yamada

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.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index 28ddb7e..bc639b3 100644

Makefile unconfig: · line 844

Quoted 8 lines
Makefile +1 -1
@@ -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

Signature · 2 lines
Regards,
Nishanth Menon
#2 lore raw

PATCH 1/1 Makefile: Do not show make debug messages

Quoted 44 lines · Nishanth Menon
Quoted 32 lines · Masahiro Yamada

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.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index 28ddb7e..bc639b3 100644

Makefile unconfig: · line 844

Quoted 8 lines
Makefile +1 -1
@@ -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.

Quoted 5 lines

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

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

Signature · 2 lines
Regards,
Nishanth Menon
#3 lore raw
In reply to Masahiro Yamada
Quoted 15 lines · Masahiro Yamada

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:

Quoted 8 lines

make omap4_panda CROSS_COMPILE=<your_compiler_prefix>

The log is sprinkled with annoying make debug messages.

This commit deletes -d option again.

Applied to u-boot/master, thanks!

Signature · 8 lines
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>