android_kernel_xiaomi_sm8450/build.config.anorak
Hrishabh Rajput 2d1f9b1ffb defconfig: build.config: Add earlycon option to commandline
Enable early console for debug builds for Anorak target.
Also remove malformed early option 'earlycon' from build.config.anorak.

Change-Id: Ia9b50ebcff976fa56d00fc452c7c36986370e1d0
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-03-28 23:52:11 +05:30

44 lines
1.0 KiB
Plaintext

################################################################################
## Inheriting configs from ACK
. ${ROOT_DIR}/common/build.config.common
. ${ROOT_DIR}/common/build.config.aarch64
################################################################################
## Variant setup
MSM_ARCH=anorak
VARIANTS=(defconfig debug_defconfig)
[ -z "${VARIANT}" ] && VARIANT=debug_defconfig
CONFIG_TARGET=${MSM_ARCH}
BOOT_IMAGE_HEADER_VERSION=3
BASE_ADDRESS=0x80000000
PAGE_SIZE=4096
BUILD_VENDOR_DLKM=1
TRIM_UNUSED_MODULES=1
MODULES_LIST_ORDER="1"
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 msm_geni_serial.con_enabled=1'
fi
[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1
## Inheriting MSM configs
. ${KERNEL_DIR}/build.config.msm.common
## Variant branch setup
BRANCH=$MSM_ARCH
if [ ! -z $VARIANT ]; then
BRANCH+=-${VARIANT}
fi
# boot image macros
BUILD_BOOT_IMG=1
BUILD_INITRAMFS=1
DTB_IMG_CREATE=1
## Inheriting sxr common configs
. ${KERNEL_DIR}/build.config.sxr.common