[openwrt/openwrt] unetd: only depend on bpf-headers if BPF toolchain support is available
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 12 12:31:43 PDT 2022
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/55aa11d121a33fc597890ac7cbe7484791abde28
commit 55aa11d121a33fc597890ac7cbe7484791abde28
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Sep 12 21:30:54 2022 +0200
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 <nbd at nbd.name>
---
package/network/services/unetd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 <nbd at nbd.name>
-PKG_BUILD_DEPENDS:=bpf-headers
+PKG_BUILD_DEPENDS:=HAS_BPF_TOOLCHAIN:bpf-headers
PKG_BUILD_PARALLEL:=1
More information about the lede-commits
mailing list