ANDROID: build kernels with llvm-nm and llvm-objcopy
Causes CONFIG_RELR to be enabled, resulting in a gki_defconfig image size decrease of 2.2MB/10.3% uncompressed or 170KB/2.0% compressed. Bug: 137200966 Change-Id: I85d36e346ca54bfc50aaca6804684b9bf16c47f0 Signed-off-by: Peter Collingbourne <pcc@google.com>
This commit is contained in:
parent
32815416dd
commit
d37d6fd8c0
@ -3,6 +3,8 @@ KERNEL_DIR=common
|
||||
|
||||
CC=clang
|
||||
LD=ld.lld
|
||||
NM=llvm-nm
|
||||
OBJCOPY=llvm-objcopy
|
||||
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r365631c/bin
|
||||
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user