unetd: only depend on bpf-headers if BPF toolchain support is available
authorFelix Fietkau <nbd@nbd.name>
Mon, 12 Sep 2022 19:30:54 +0000 (21:30 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 12 Sep 2022 19:31:27 +0000 (21:31 +0200)
If BPF is unavailable, unetd can be built without it (by disabling VXLAN support).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/unetd/Makefile

index 06e95b3326f0a68c47da577bed664bab6e1b0f14..c645ee57d8ddfac454abf47dcde86431b00ff7c2 100644 (file)
@@ -17,7 +17,7 @@ PKG_MIRROR_HASH:=a693c2b4b4bda5e1e44b493019e8e6e6d39c4048f417b581c801a9931e6b9b3
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 
-PKG_BUILD_DEPENDS:=bpf-headers
+PKG_BUILD_DEPENDS:=HAS_BPF_TOOLCHAIN:bpf-headers
 
 PKG_BUILD_PARALLEL:=1