build.config: neo: Add support to compile neo le
Adding support to enable neo la builds. Enable compilation and generation for boot and vendor_boot. Add vendor commandline for neo le config builds. Change-Id: I23fad251fa53feb515fb5a21ff4c47b39318a230 Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
This commit is contained in:
@@ -9,17 +9,23 @@ MSM_ARCH=neo_le
|
||||
VARIANTS=(defconfig debug_defconfig)
|
||||
[ -z "${VARIANT}" ] && VARIANT=defconfig
|
||||
|
||||
if [ -e "${ROOT_DIR}/msm-kernel" -a "${KERNEL_DIR}" = "common" ]; then
|
||||
KERNEL_DIR="msm-kernel"
|
||||
fi
|
||||
|
||||
BASE_ADDRESS=0x80000000
|
||||
PAGE_SIZE=4096
|
||||
BOOT_IMAGE_HEADER_VERSION=3
|
||||
BUILD_VENDOR_DLKM=1
|
||||
SUPER_IMAGE_SIZE=0x10000000
|
||||
TRIM_UNUSED_MODULES=1
|
||||
CONFIG_TARGET=${MSM_ARCH}
|
||||
|
||||
MODULES_LIST_ORDER="1"
|
||||
[ -z "${DT_OVERLAY_SUPPORT}" ] && DT_OVERLAY_SUPPORT=1
|
||||
|
||||
################################################################################
|
||||
## Define VM parameters
|
||||
KERNEL_OFFSET=0xe0b00000
|
||||
DTB_OFFSET=0xe2b00000
|
||||
RAMDISK_OFFSET=0xe2c00000
|
||||
DUMMY_IMG_OFFSET=0xe84ff000
|
||||
|
||||
VM_SIZE_EXT4=270000000
|
||||
DUMMY_IMG_SIZE=4096
|
||||
@@ -34,5 +40,14 @@ if [ ! -z $VARIANT ]; then
|
||||
BRANCH+=-${VARIANT}
|
||||
fi
|
||||
|
||||
# boot image macros
|
||||
BUILD_BOOT_IMG=1
|
||||
BUILD_INITRAMFS=1
|
||||
|
||||
if [ "${KERNEL_CMDLINE_CONSOLE_AUTO}" != "0" ]; then
|
||||
KERNEL_VENDOR_CMDLINE+=' nokaslr rw rootwait noinitrd earlycon msm_geni_serial.con_enabled=1'
|
||||
KERNEL_VENDOR_CMDLINE+=' earlycon=msm_geni_serial,0x00A94000'
|
||||
fi
|
||||
|
||||
## Inheriting sxr common configs
|
||||
. ${KERNEL_DIR}/build.config.sxr.common
|
||||
|
@@ -53,3 +53,4 @@ clk-rpmh.ko
|
||||
qcom-cpufreq-hw.ko
|
||||
llcc-qcom.ko
|
||||
msm_dma_iommu_mapping.ko
|
||||
socinfo.ko
|
||||
|
Reference in New Issue
Block a user