Skip to contentSkip to conversation

Add Q variable to external builds to be quite

PATCH In review Keith Wiles 2 participants 2 messages Feb 14, 2015 – Feb 16, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Q variable to external builds to be quite

---
 mk/rte.extvars.mk | 4 ++++
 1 file changed, 4 insertions(+)
mk/rte.extvars.mk +4 -0
index 3e5a990..83a5721 100644
@@ -66,6 +66,10 @@ endif
 RTE_OUTPUT ?= $(RTE_SRCDIR)/build
 export RTE_OUTPUT
 
+# define Q to '@' or not. $(Q) is used to prefix all shell commands to
+# be executed silently.
+Q=@
+
 # if we are building an external application, include SDK
 # configuration and include project configuration if any
 include $(RTE_SDK_BIN)/.config
Signature · 1 line
2.3.0

A message that is not in the archive (sent off-list or not yet received): 1423937607-35845-1-git-send-email-keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org

#2 lore raw

Hi Keith,

Quoted 11 lines · Keith Wiles
---
 mk/rte.extvars.mk | 4 ++++
 1 file changed, 4 insertions(+)
mk/rte.extvars.mk +0 -0
index 3e5a990..83a5721 100644

mk/rte.extvars.mk endif · line 75

Quoted 10 lines
mk/rte.extvars.mk +4 -0
@@ -66,6 +66,10 @@ endif
 RTE_OUTPUT ?= $(RTE_SRCDIR)/build
 export RTE_OUTPUT
 
+# define Q to '@' or not. $(Q) is used to prefix all shell commands to
+# be executed silently.
+Q=@
+
 # if we are building an external application, include SDK
 # configuration and include project configuration if any
 include $(RTE_SDK_BIN)/.config

In the examples/ directory, rte.extvars.mk is never included directly. They use rte.vars.mk, which already properly defines the $(Q) variable (its value depends on V= argument).

So I think we don't need this patch.

Regards,
Olivier