[openwrt/openwrt] u-boot: support verbose build

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 12 01:47:11 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a85aaa1bc299301ad741b6ef94d7580c9095f1be

commit a85aaa1bc299301ad741b6ef94d7580c9095f1be
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Aug 29 22:24:59 2020 +0200

    u-boot: support verbose build
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/u-boot.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)))



More information about the lede-commits mailing list