2ad997b4d1
This adds <10 seconds for a LTO=thin build, while the original build time is about ~250 seconds on a build machine with 48 2.60 GHz processors and 64GB RAM. Within the 10 seconds, ~3 seconds spent on building Image.gz, ~5 seconds for packing Image.gz as boot-gz.img and <1 second for including the boot-gz.img into the boot-img.tar.gz. Bug: 233352819 Test: LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh Signed-off-by: Bowgo Tsai <bowgotsai@google.com> Change-Id: I283ef004d1233d2e175573b893379e0d68221353
24 lines
514 B
Plaintext
24 lines
514 B
Plaintext
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
|
|
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64
|
|
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki
|
|
|
|
MAKE_GOALS="${MAKE_GOALS}
|
|
Image.lz4
|
|
Image.gz
|
|
"
|
|
|
|
FILES="${FILES}
|
|
arch/arm64/boot/Image.lz4
|
|
arch/arm64/boot/Image.gz
|
|
"
|
|
|
|
BUILD_SYSTEM_DLKM=1
|
|
MODULES_LIST=${ROOT_DIR}/${KERNEL_DIR}/android/gki_system_dlkm_modules
|
|
|
|
BUILD_GKI_CERTIFICATION_TOOLS=1
|
|
|
|
BUILD_GKI_ARTIFACTS=1
|
|
BUILD_GKI_BOOT_IMG_SIZE=67108864
|
|
BUILD_GKI_BOOT_IMG_GZ_SIZE=47185920
|
|
BUILD_GKI_BOOT_IMG_LZ4_SIZE=53477376
|