From: Felix Fietkau Date: Mon, 12 Sep 2022 19:30:54 +0000 (+0200) Subject: unetd: only depend on bpf-headers if BPF toolchain support is available X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=55aa11d121a33fc597890ac7cbe7484791abde28;p=openwrt%2Fstaging%2Fnbd.git unetd: only depend on bpf-headers if BPF toolchain support is available If BPF is unavailable, unetd can be built without it (by disabling VXLAN support). Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/unetd/Makefile b/package/network/services/unetd/Makefile index 06e95b3326..c645ee57d8 100644 --- a/package/network/services/unetd/Makefile +++ b/package/network/services/unetd/Makefile @@ -17,7 +17,7 @@ PKG_MIRROR_HASH:=a693c2b4b4bda5e1e44b493019e8e6e6d39c4048f417b581c801a9931e6b9b3 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Felix Fietkau -PKG_BUILD_DEPENDS:=bpf-headers +PKG_BUILD_DEPENDS:=HAS_BPF_TOOLCHAIN:bpf-headers PKG_BUILD_PARALLEL:=1