Commit Graph

7 Commits

Author SHA1 Message Date
Elliot Berman
7a1743c35f build.config.msm.*: Add transition support to msm_kernel folder
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>
2021-04-19 07:52:09 -07:00
Elliot Berman
731fec20fd build.config: Add support for KERNEL_CMDLINE_CONSOLE_AUTO
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>
2020-11-13 10:50:58 -08:00
Elliot Berman
37981e55d6 build.config: Consolidate duplicated settings
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>
2020-07-31 21:42:38 -07:00
Elliot Berman
655afa578d build.config: Add fragment config awareness
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>
2020-07-31 21:40:26 -07:00
Elliot Berman
b4e57137c7 build.config: Make gki-ack variants "hidden"
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>
2020-07-29 17:51:24 -07:00
Elliot Berman
9846676e93 waipio: Add build config
Add build config for Waipio.

Change-Id: I64cf2ca639294577a04ff28ac78114e5fd76b529
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-06-22 09:55:18 -07:00
Elliot Berman
d1fe794171 build.config: Add base build.config files
Add common and Lahaina build config files.

Change-Id: I54261ed8f995976d3dc95ab6e392b22d76c261e4
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-06-17 19:02:02 -07:00