b194c75018
The default goals for an ARCH=arm64 kernel will build all of the dtb files available in the tree, and hard-codes the generation of a gzip-compressed Image artifact. For GKI, we want to support various compression methods (gz, lz4 and uncompressed) and this can be handled outside of kbuild where compressor flags can be tuned. Also, GKI does not need to build any dtb files because it is board-neutral, and in most cases the dtbs will come from downstream kernels, not ACK. On arm and aarch64, this suppresses the generation of the useless gzip compressed Image artifact, and dtbs on the gki configs, which do not make sense. The x86 defaults were already optimal but make them match aarch64. On db845c, this builds only the needed dtb file and a compressed artifact for backwards compatibility. Bug: 152546767 Change-Id: If90ea331fc7564358b77a777fb367d7d2f95e6a6 Signed-off-by: Alistair Delva <adelva@google.com>
17 lines
488 B
Plaintext
17 lines
488 B
Plaintext
. ${ROOT_DIR}/common/build.config.common
|
|
. ${ROOT_DIR}/common/build.config.aarch64
|
|
|
|
DEFCONFIG=db845c_gki_defconfig
|
|
PRE_DEFCONFIG_CMDS="cat ./common/arch/arm64/configs/gki_defconfig ./common/arch/arm64/configs/db845c_gki.fragment > ./common/arch/arm64/configs/${DEFCONFIG};"
|
|
POST_DEFCONFIG_CMDS="rm ./common/arch/arm64/configs/${DEFCONFIG}"
|
|
|
|
MAKE_GOALS="${MAKE_GOALS}
|
|
qcom/sdm845-db845c.dtb
|
|
Image.gz
|
|
"
|
|
|
|
FILES="${FILES}
|
|
arch/arm64/boot/Image.gz
|
|
arch/arm64/boot/dts/qcom/sdm845-db845c.dtb
|
|
"
|