To help facilitate easy transition for kernel source to move from kernel_platform/common to kernel_platform/msm-kernel, a symlink of build.config.msm.{lahaina,waipio,waipio.tuivm} will be created in kernel_platform/common folder for build processes which hard-code "common/build.config.msm.{lahaina,waipio,waipio.tuivm}" as the BUILD_CONFIG. When the symlink is used, KERNEL_DIR is set to common/, but it should use msm-kernel as the real KERNEL_DIR, since that's where msm-5.10 really lives. This is especially the case since build.config.msm.common and other build.config files that build.config.msm.{waipio,waipio.tuivm,lahaina} use live in msm-5.10, not the kernel_platform/common folder. Change-Id: Id95b46d345c726384ed741ed2cfa4ed7923288f0 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
30 lines
881 B
Plaintext
30 lines
881 B
Plaintext
################################################################################
|
|
## Inheriting configs from ACK
|
|
. ${ROOT_DIR}/common/build.config.common
|
|
. ${ROOT_DIR}/common/build.config.aarch64
|
|
|
|
################################################################################
|
|
## Variant setup
|
|
MSM_ARCH=lahaina
|
|
VARIANTS=(gki)
|
|
[ -z "${VARIANT}" ] && VARIANT=gki
|
|
|
|
if [ -e "${ROOT_DIR}/msm-kernel" -a "${KERNEL_DIR}" = "common" ]; then
|
|
KERNEL_DIR="msm-kernel"
|
|
fi
|
|
|
|
DT_OVERLAY_SUPPORT=1
|
|
|
|
BOOT_IMAGE_HEADER_VERSION=3
|
|
BASE_ADDRESS=0x80000000
|
|
PAGE_SIZE=4096
|
|
|
|
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
|
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x0098C000'
|
|
fi
|
|
|
|
################################################################################
|
|
## Inheriting MSM configs
|
|
. ${KERNEL_DIR}/build.config.msm.common
|
|
. ${KERNEL_DIR}/build.config.msm.gki
|