From e85c9c075bce37908394c85455f00a606993b88b Mon Sep 17 00:00:00 2001 From: Gokul krishna Krishnakumar Date: Wed, 14 Dec 2022 10:12:37 -0800 Subject: [PATCH] build.config.msm.pineapple.allyes: Add build config for pineapple with allyesconfigs Add support for allyes variant for pineapple SoC. To build this variant, set the target name as pineapple.allyes in the top level build config. Change-Id: I0d378ea88e6156f869d5fa47c4da67cb9d8da0a3 Signed-off-by: Gokul krishna Krishnakumar --- build.config.msm.pineapple.allyes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 build.config.msm.pineapple.allyes diff --git a/build.config.msm.pineapple.allyes b/build.config.msm.pineapple.allyes new file mode 100644 index 000000000000..4c05be0fcac4 --- /dev/null +++ b/build.config.msm.pineapple.allyes @@ -0,0 +1,31 @@ +################################################################################ +## Inheriting configs from ACK +. ${ROOT_DIR}/msm-kernel/build.config.common +. ${ROOT_DIR}/msm-kernel/build.config.aarch64 + +################################################################################ +## Variant setup +MSM_ARCH=pineapple +VARIANTS=(perf_defconfig) +[ -z "${VARIANT}" ] && VARIANT=perf_defconfig + +ABL_SRC=bootable/bootloader/edk2 +BOOT_IMAGE_HEADER_VERSION=2 +BASE_ADDRESS=0x80000000 +PAGE_SIZE=4096 +TARGET_HAS_SEPARATE_RD=1 +PREFERRED_USERSPACE=le +BUILD_BOOT_IMG=1 +SKIP_UNPACKING_RAMDISK=1 +BUILD_INITRAMFS=1 + +[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1 + +if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then + KERNEL_VENDOR_CMDLINE+=' console=ttyMSM0,115200n8 earlycon=qcom_geni,0x00a9C000 qcom_geni_serial.con_enabled=1 ' +fi + +################################################################################ +## Inheriting MSM configs +. ${KERNEL_DIR}/build.config.msm.common +. ${KERNEL_DIR}/build.config.allyesconfig