Browse Source

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 <[email protected]>
Christian Marangi 1 year ago
parent
commit
23de46c913
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/utils/xdp-tools/Makefile

+ 1 - 1
package/network/utils/xdp-tools/Makefile

@@ -89,7 +89,7 @@ CONFIGURE_VARS += \
 	LLC="$(LLVM_LLC)" \
 	LLC="$(LLVM_LLC)" \
 	BPF_LDFLAGS="-march=$(BPF_TARGET) -mcpu=v3"
 	BPF_LDFLAGS="-march=$(BPF_TARGET) -mcpu=v3"
 
 
-ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
+ifneq ($(findstring s,$(OPENWRT_VERBOSE)),)
 	MAKE_FLAGS+=V=1
 	MAKE_FLAGS+=V=1
 endif
 endif