2020-06-10 08:35:21 +09:00
|
|
|
################################################################################
|
|
|
|
## Inheriting configs from ACK
|
2020-07-09 07:00:05 +09:00
|
|
|
. ${ROOT_DIR}/common/build.config.common
|
|
|
|
. ${ROOT_DIR}/common/build.config.aarch64
|
2020-06-10 08:35:21 +09:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Variant setup
|
|
|
|
MSM_ARCH=waipio
|
2020-08-15 06:12:45 +09:00
|
|
|
VARIANTS=(consolidate gki)
|
|
|
|
[ -z "${VARIANT}" ] && VARIANT=consolidate
|
2020-06-10 08:35:21 +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-09-11 09:33:20 +09:00
|
|
|
BOOT_IMAGE_HEADER_VERSION=3
|
2020-06-10 08:35:21 +09:00
|
|
|
BASE_ADDRESS=0x80000000
|
|
|
|
PAGE_SIZE=4096
|
2020-11-17 07:41:29 +09:00
|
|
|
BUILD_VENDOR_DLKM=1
|
2021-01-26 05:06:18 +09:00
|
|
|
SUPER_IMAGE_SIZE=0x10000000
|
2020-11-17 07:41:29 +09:00
|
|
|
TRIM_UNUSED_MODULES=1
|
2020-10-21 09:15:13 +09:00
|
|
|
[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1
|
2020-06-10 08:35:21 +09:00
|
|
|
|
2020-11-03 01:41:10 +09:00
|
|
|
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
2021-03-06 07:19:12 +09:00
|
|
|
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x0099C000 msm_geni_serial.con_enabled=1'
|
2020-11-03 01:41:10 +09:00
|
|
|
fi
|
|
|
|
|
2020-06-10 08:35:21 +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
|