aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-08-29 22:24:59 +0200
committerFelix Fietkau <nbd@nbd.name>2021-06-12 10:46:39 +0200
commita85aaa1bc299301ad741b6ef94d7580c9095f1be (patch)
treec95a72ddd1a55e84ba47931a32a394a230b7c997 /include
parentf2c6d892cacb5d884bdd638bc7574c1ee98514a5 (diff)
downloadupstream-a85aaa1bc299301ad741b6ef94d7580c9095f1be.tar.gz
upstream-a85aaa1bc299301ad741b6ef94d7580c9095f1be.tar.bz2
upstream-a85aaa1bc299301ad741b6ef94d7580c9095f1be.zip
u-boot: support verbose build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/u-boot.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/u-boot.mk b/include/u-boot.mk
index ec9fb15b6c..c0a1e87bf3 100644
--- a/include/u-boot.mk
+++ b/include/u-boot.mk
@@ -44,7 +44,8 @@ TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET))
UBOOT_MAKE_FLAGS = \
HOSTCC="$(HOSTCC)" \
HOSTCFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) -std=gnu11" \
- HOSTLDFLAGS="$(HOST_LDFLAGS)"
+ HOSTLDFLAGS="$(HOST_LDFLAGS)" \
+ $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='')
define Build/U-Boot/Target
$(eval $(call U-Boot/Init,$(1)))