Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Makefile: remove redundant ifdef V
@ 2015-04-07  4:08 Masahiro Yamada
  2015-04-07  4:19 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2015-04-07  4:08 UTC (permalink / raw)
  To: buildroot

If "V" is not defined, "$(origin V)" returns "undefined".
"ifdev V" is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index d6426b3..9db52a8 100644
--- a/Makefile
+++ b/Makefile
@@ -184,10 +184,8 @@ endif
 
 # To put more focus on warnings, be less verbose as default
 # Use 'make V=1' to see the full commands
-ifdef V
-  ifeq ("$(origin V)", "command line")
-    KBUILD_VERBOSE = $(V)
-  endif
+ifeq ("$(origin V)", "command line")
+  KBUILD_VERBOSE = $(V)
 endif
 ifndef KBUILD_VERBOSE
   KBUILD_VERBOSE = 0
-- 
1.9.1

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

end of thread, other threads:[~2015-04-07  4:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07  4:08 [Buildroot] [PATCH] Makefile: remove redundant ifdef V Masahiro Yamada
2015-04-07  4:19 ` Baruch Siach
2015-04-07  4:36   ` Masahiro Yamada
2015-04-07  4:50     ` Baruch Siach

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