diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-10-26 23:05:31 +0200 |
---|---|---|
committer | Doug Freed <dwfreed@mtu.edu> | 2023-02-09 08:37:22 +0000 |
commit | 98b8507e83c69d5e66e442eca95fc076114a736a (patch) | |
tree | 599c7a72a6a0156781cdc9b491860f8fd4de0d5b /target/linux/apm821xx/dts | |
parent | 7370479224dde700537a73a81706bde6db820d8a (diff) | |
download | upstream-98b8507e83c69d5e66e442eca95fc076114a736a.tar.gz upstream-98b8507e83c69d5e66e442eca95fc076114a736a.tar.bz2 upstream-98b8507e83c69d5e66e442eca95fc076114a736a.zip |
bpf: check llvm version only when used
unetd always includes $(INCLUDE_DIR)/bpf.mk. This file always checks if
the LLVM version is supported in CLANG_VER_VALID. unetd only needs bpf
when UNETD_VXLAN_SUPPORT is set. It fails when UNETD_VXLAN_SUPPORT is
not set and llvm is not installed.
Fix it by only checking the LLVM version when a LLVM toolchain is
available.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit c58177b5dcb3461efef0adefe570dd8a8d966ec4)
Diffstat (limited to 'target/linux/apm821xx/dts')
0 files changed, 0 insertions, 0 deletions