[openwrt/openwrt] xdp-tools: fix wrong matching for OPENWRT_VERBOSE

LEDE Commits lede-commits at lists.infradead.org
Fri May 3 05:56:47 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/23de46c913912cf8695328e966bc47cc57a6e09f

commit 23de46c913912cf8695328e966bc47cc57a6e09f
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Fri May 3 14:46:33 2024 +0200

    xdp-tools: fix wrong matching for OPENWRT_VERBOSE
    
    To enable verbose log for xdp-tools compilation, we check for "c" in
    the OPENWRT_VERBOSE, but verbose.mk supports only "w" and "s" for V=1
    and V=99.
    
    Fix the wrong matching and correctly enable verbose output matching for
    "s".
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/network/utils/xdp-tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/xdp-tools/Makefile b/package/network/utils/xdp-tools/Makefile
index 8484ca758b..8a839954e9 100644
--- a/package/network/utils/xdp-tools/Makefile
+++ b/package/network/utils/xdp-tools/Makefile
@@ -89,7 +89,7 @@ CONFIGURE_VARS += \
 	LLC="$(LLVM_LLC)" \
 	BPF_LDFLAGS="-march=$(BPF_TARGET) -mcpu=v3"
 
-ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
+ifneq ($(findstring s,$(OPENWRT_VERBOSE)),)
 	MAKE_FLAGS+=V=1
 endif
 




More information about the lede-commits mailing list