2020-05-30 12:56:47 +09:00
|
|
|
################################################################################
|
|
|
|
## Inheriting configs from ACK
|
|
|
|
. ${ROOT_DIR}/common/build.config.common
|
|
|
|
. ${ROOT_DIR}/common/build.config.aarch64
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Variant setup
|
|
|
|
MSM_ARCH=lahaina
|
2020-07-30 09:51:24 +09:00
|
|
|
VARIANTS=(gki)
|
2020-07-24 05:16:33 +09:00
|
|
|
[ -z "${VARIANT}" ] && VARIANT=gki
|
2020-05-30 12:56:47 +09:00
|
|
|
|
build.config.msm.*: Add transition support to msm_kernel folder
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>
2021-04-19 23:45:06 +09:00
|
|
|
if [ -e "${ROOT_DIR}/msm-kernel" -a "${KERNEL_DIR}" = "common" ]; then
|
|
|
|
KERNEL_DIR="msm-kernel"
|
|
|
|
fi
|
|
|
|
|
2020-05-30 12:56:47 +09:00
|
|
|
DT_OVERLAY_SUPPORT=1
|
|
|
|
|
|
|
|
BOOT_IMAGE_HEADER_VERSION=3
|
|
|
|
BASE_ADDRESS=0x80000000
|
|
|
|
PAGE_SIZE=4096
|
|
|
|
|
2020-11-03 01:41:10 +09:00
|
|
|
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
|
|
|
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x0098C000'
|
|
|
|
fi
|
|
|
|
|
2020-05-30 12:56:47 +09:00
|
|
|
################################################################################
|
|
|
|
## Inheriting MSM configs
|
|
|
|
. ${KERNEL_DIR}/build.config.msm.common
|
2020-07-24 05:16:33 +09:00
|
|
|
. ${KERNEL_DIR}/build.config.msm.gki
|