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 4701020..4c4af50 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),)