cmake: add support for V=cs
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Apr 2012 17:54:03 +0000 (17:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Apr 2012 17:54:03 +0000 (17:54 +0000)
SVN-Revision: 31485

include/cmake.mk

index 4701020f91863cccb4a5b7e5c6a51b1cbf5d377f..4c4af502cc3889955c5ad69aef78f8f97cf54bb1 100644 (file)
@@ -1,6 +1,8 @@
 PKG_INSTALL:=1
 
-MAKE_FLAGS+=VERBOSE=1
+ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
+  MAKE_FLAGS+=VERBOSE=1
+endif
 
 ifeq ($(CONFIG_CCACHE),)
  ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)