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>
For perf builds (waipio_GKI.config), console should be default disabled,
unelss explicitly turned on via command line. Disable
MSM_GENI_CONSOLE_DEFAULT_ENABLED on waipio_GKI.config and re-enable it
on waipio_consolidate.config.
Change-Id: I11c70a3763710fe701c7392073aacc37ab6f7412
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Generate super.img containing vendor_dlkm partition in order to generate
a set of physically flashable images.
Change-Id: If55414b2d4e61ec2baecd93211eb27e529d69a3e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Enable vendor_dlkm.img generation and trim modules not mentioned in the
first- or second-stage modules directories.
Change-Id: I259e7fcd33b4bfa968a4b97533783c99e8a0146a
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
By default, boot.img with console support should created. If a different
console or disabled console is desired, then parent build.config should
opt-out by setting KERNEL_CMDLINE_CONSOLE_AUTO=0. This is opt-out rather
than opt-in to support developer and automation workflows.
Change-Id: I2b41cb1416558987515ea433eb24ceeda719f474
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Enable compilation of consolidate defconfig fragment for waipio.
Change-Id: Id27ebe6db3e2a968205bf4f008228f279ab830d9
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Consolidate BRANCH, CONFIG_TARGET settings into build.config.msm.common
and consolidate the VARIANT -> defconfig mapping for Lahaina and Waipio
into build.config.msm.gki. This simplifies the target-specific
build.config files and improves code re-use.
Change-Id: I92a246e28f1034b74f44b4293bad671411e62a1e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Present fragment config logic is target specific and located in the
scripts/gki folder. The script does not scale well to different targets
which may have different types of variants. Migrate fragment config logic
to build.config files, where the variant stitching can be described in the
relevant build.config.msm.target file. The fragment stitching logic must
also be in kernel/build system in order to respect any Make invocation
arguments (e.g. compiler).
Change-Id: I77454c2b431b3f5c0ce75a17714b43913c03ced4
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Remove gki-ack variant from msm.lahaina and msm.waipio so they are not
included when compiling all kernel variants.
Change-Id: Ia1a264c2bd4467259233483d39ddce053bcb649d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Let KERNEL_DIR come from build.config.common instead of requiring that
it is defined from outside the environment.
Change-Id: I570a05d2edbd9e63ed0b63d42ea167b5fbe25fd1
Signed-off-by: Elliot Berman <eberman@codeaurora.org>