llvm-bpf: move to staging_dir/host/llvm-bpf
[openwrt/staging/thess.git] / include / bpf.mk
index 9636ad5165497ce434c39213739db9374442d03f..28cdf6cb3235f938077c521b2c0b86e19feb01db 100644 (file)
@@ -10,7 +10,7 @@ ifneq ($(CONFIG_BPF_TOOLCHAIN_HOST),)
   CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' which clang clang-13 clang-12 clang-11))
   LLVM_VER:=$(subst clang,,$(notdir $(CLANG)))
 else
-  CLANG:=$(STAGING_DIR_HOST)/bin/clang
+  CLANG:=$(STAGING_DIR_HOST)/llvm-bpf/bin/clang
   LLVM_VER:=
 endif