From 796977010078c3ed4c2c1ff00e36d815b8c45aa0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 12 Jan 2017 14:32:02 +0100 Subject: [PATCH] cmake: support verbose build that shows compiler commands Signed-off-by: Felix Fietkau --- tools/cmake/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.30.2