summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-18 14:06:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-18 14:06:57 +0000
commit6ca383f41682e3037cf9843e9e1605e94321f1f5 (patch)
treed1d54006ec6ad4d567a89be7fbb45ffbf10ea100 /nuttx/Makefile
parent7ba198934e41f5283467203549a14bbfdc2e0758 (diff)
downloadpx4-nuttx-6ca383f41682e3037cf9843e9e1605e94321f1f5.tar.gz
px4-nuttx-6ca383f41682e3037cf9843e9e1605e94321f1f5.tar.bz2
px4-nuttx-6ca383f41682e3037cf9843e9e1605e94321f1f5.zip
Refactor common make definitions to tools/Config.mk; Add verbosity option to build (Richard Cochran)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5160 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 375538919..3c6e9c198 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -38,6 +38,13 @@ TOPDIR := ${shell pwd | sed -e 's/ /\\ /g'}
-include ${TOPDIR}/tools/Config.mk
-include ${TOPDIR}/Make.defs
+# Control build verbosity.
+ifeq ($(V),1)
+export Q :=
+else
+export Q := @
+endif
+
# Default tools
ifeq ($(DIRLINK),)