]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-tools: Honor the global verbose flag
authorRobert Marko <robimarko@gmail.com>
Thu, 17 Apr 2025 11:12:17 +0000 (13:12 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 18 Apr 2025 11:22:12 +0000 (13:22 +0200)
Look for OPENWRT_VERBOSE and pass it down to the U-Boot so we actually
get verbose build info when needed for debugging.

Link: https://github.com/openwrt/openwrt/pull/18515
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/Makefile

index 481fe776026e1ce7b30b69cda8181e58e2be6d96..9fa680c97c86435ad5186cc55d505547c1797d6f 100644 (file)
@@ -80,7 +80,8 @@ MAKE_FLAGS += \
        ARCH="sandbox" \
        TARGET_CFLAGS="$(TARGET_CFLAGS)" \
        TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
-       NO_PYTHON=1
+       NO_PYTHON=1 \
+       V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,)
 
 define Build/Compile