android_kernel_xiaomi_sm8350/build.config.msm.gki
Elliot Berman 8167da7ded build.config: Add build.config files for Lahaina
Add basic build.config files for using Google's kernel/build project on
lahaina.

Change-Id: I81b8d6af3f632b653ab692944da37d9023ab489c
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-06-09 14:25:37 -06:00

20 lines
678 B
Plaintext

################################################################################
# Common MSM configuration for building GKI-based kernels
function generate_defconfig() {
${KERNEL_DIR}/scripts/gki/generate_defconfig.sh ${DEFCONFIG}
}
DEFCONFIG=vendor/${MSM_ARCH}-${VARIANT}_defconfig
append_cmd PRE_DEFCONFIG_CMDS 'generate_defconfig'
if [ -z "${GKI_RAMDISK_PREBUILT_BINARY}" ]; then
GKI_RAMDISK_PREBUILT_BINARY=prebuilts/boot-artifacts/${ARCH}/gki-ramdisk.cpio.gz
fi
################################################################################
## menuconfig
function menuconfig() {
${KERNEL_DIR}/scripts/gki/fragment_menuconfig.sh ${DEFCONFIG}
}
export -f menuconfig