From: Felix Fietkau Date: Thu, 12 Jan 2017 13:32:02 +0000 (+0100) Subject: cmake: support verbose build that shows compiler commands X-Git-Tag: v17.01.0-rc1~112 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=796977010078c3ed4c2c1ff00e36d815b8c45aa0;p=openwrt%2F.git cmake: support verbose build that shows compiler commands Signed-off-by: Felix Fietkau --- diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile index c56cd40fb5..08e5a69ecf 100644 --- a/tools/cmake/Makefile +++ b/tools/cmake/Makefile @@ -29,4 +29,8 @@ HOST_CONFIGURE_VARS := HOST_CONFIGURE_ARGS := \ --prefix=$(STAGING_DIR_HOST) +ifneq ($(findstring c,$(OPENWRT_VERBOSE)),) + HOST_MAKE_FLAGS += VERBOSE=1 +endif + $(eval $(call HostBuild))