mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Support kernel compilation with Clang/LLVM
This commit is contained in:
committed by
Igor
parent
63163387c7
commit
0aa2371db5
@@ -342,6 +342,12 @@ function adaptative_prepare_host_dependencies() {
|
||||
host_dependencies+=(libc6-amd64-cross) # Support for running x86 binaries (under qemu on other arches)
|
||||
fi
|
||||
|
||||
if [[ "${KERNEL_COMPILER}" == "clang" ]]; then
|
||||
host_dependencies+=("clang")
|
||||
host_dependencies+=("llvm")
|
||||
host_dependencies+=("lld")
|
||||
fi
|
||||
|
||||
declare -g EXTRA_BUILD_DEPS=""
|
||||
call_extension_method "add_host_dependencies" <<- 'ADD_HOST_DEPENDENCIES'
|
||||
*run before installing host dependencies*
|
||||
|
||||
Reference in New Issue
Block a user