xdp-tools: fix compilation when bpftool is installed
Currently, xdp-tools doesn't compile on build systems where bpftool is installed because additional tools and BPF programs will be compiled then, which results in build errors. This commit disables the compilation of those bpftool-dependent tools. Signed-off-by: Til Kaiser <mail@tk154.de> Link: https://github.com/openwrt/openwrt/pull/16787 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
7ac3f0e96c
commit
ff18576f84
|
@ -87,7 +87,8 @@ CONFIGURE_VARS += \
|
||||||
CLANG="$(CLANG)" \
|
CLANG="$(CLANG)" \
|
||||||
BPF_TARGET="$(BPF_ARCH)-linux-gnu" \
|
BPF_TARGET="$(BPF_ARCH)-linux-gnu" \
|
||||||
LLC="$(LLVM_LLC)" \
|
LLC="$(LLVM_LLC)" \
|
||||||
BPF_LDFLAGS="-march=$(BPF_TARGET) -mcpu=v3"
|
BPF_LDFLAGS="-march=$(BPF_TARGET) -mcpu=v3" \
|
||||||
|
BPFTOOL=""
|
||||||
|
|
||||||
ifneq ($(findstring s,$(OPENWRT_VERBOSE)),)
|
ifneq ($(findstring s,$(OPENWRT_VERBOSE)),)
|
||||||
MAKE_FLAGS+=V=1
|
MAKE_FLAGS+=V=1
|
||||||
|
|
Loading…
Reference in New Issue