Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93340074 authored by Peter Collingbourne's avatar Peter Collingbourne Committed by Matthias Maennich
Browse files

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.4% uncompressed or 170KB/2.0% compressed.

Bug: 137200966
Change-Id: I85d36e346ca54bfc50aaca6804684b9bf16c47f0
Signed-off-by: default avatarPeter Collingbourne <pcc@google.com>
parent fc5e40cc
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -2,8 +2,10 @@ BRANCH=android-4.19
KERNEL_DIR=common
KERNEL_DIR=common


CC=clang
CC=clang
LD=ld.lld
NM=llvm-nm
OBJCOPY=llvm-objcopy
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r365631c/bin
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r365631c/bin


EXTRA_CMDS=''
EXTRA_CMDS=''
STOP_SHIP_TRACEPRINTK=1
STOP_SHIP_TRACEPRINTK=1
LD=ld.lld