kramel-build: switch to llvm binutils for AR, NM and OBJCOPY

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
Cyber Knight 2021-10-21 15:45:00 +08:00
parent 289c90cfb7
commit ad77a9d0eb
No known key found for this signature in database
GPG Key ID: 23BD4CCD326E9D64
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ build_kernel() {
CROSS_COMPILE_ARM32=arm-eabi- \ CROSS_COMPILE_ARM32=arm-eabi- \
CROSS_COMPILE=aarch64-elf- CROSS_COMPILE=aarch64-elf-
LD=aarch64-elf-ld.lld LD=aarch64-elf-ld.lld
AR=llvm-ar
NM=llvm-nm
OBJCOPY=llvm-objcopy
) )
fi fi