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>
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>
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>