8167da7ded
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>
20 lines
678 B
Plaintext
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
|