build: bpf: drop clang-11 lookup
authorMatthias Schiffer <[email protected]>
Sat, 5 Apr 2025 11:30:12 +0000 (13:30 +0200)
committerRobert Marko <[email protected]>
Wed, 9 Apr 2025 07:52:21 +0000 (09:52 +0200)
CLANG_MIN_VER is 12, so there is no point in looking for clang-11.

Signed-off-by: Matthias Schiffer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18422
Signed-off-by: Robert Marko <[email protected]>
include/bpf.mk

index 8a0121aabec0429793c2eec0e8281a74ca15e9ee..915662a4fefa2bec557fef338e7de913e850eac1 100644 (file)
@@ -10,7 +10,7 @@ ifneq ($(CONFIG_USE_LLVM_HOST),)
   else
     BPF_PATH:=$(PATH)
   endif
-  CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' command -v clang clang-13 clang-12 clang-11))
+  CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' command -v clang clang-13 clang-12))
   LLVM_VER:=$(subst clang,,$(notdir $(CLANG)))
 endif
 ifneq ($(CONFIG_USE_LLVM_PREBUILT),)