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@gmail.com>
This commit is contained in:
Christian Marangi 2024-05-03 14:46:33 +02:00
parent 0d436fc8b1
commit 23de46c913
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

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