Commit Graph

6 Commits

Author SHA1 Message Date
Guru Das Srinagesh
8a0b83b567 ANDROID: build: Pass variant-specific bootconfig params to vendor
Enable the inclusion of variant-specific Android bootconfig parameters in
vendor builds through the generation of a file containing them.

Set "androidboot.console" to 0 for Vendor GKI variant by this method.

Previously, this was set via the kernel command line, which leads to a
VTS test failure that forbids "androidboot.*" parameters from being
specified via kernel command line and redirects their inclusion via the
`bootconfig` mechanism.

Change-Id: Id449bd82d655082add0a80b3be221ada97fc1933
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2023-06-20 18:54:18 -07:00
Vamsi Krishna Lanka
585aa20d96 ANDROID: build: Pass variant-specific kernel cmdline params to vendor
Enable the inclusion of variant-specific kernel command line parameters
in vendor builds through the generation of a file containing them.

Set "androidboot.console" to 0 and 1 for Vendor GKI and consolidate
variants respectively, by this method.

Additionally, enable "nosoftlockup" for the GKI variant of both Kernel
Platform and Vendor builds by this method.

Change-Id: Id2ce57bad4556cfa96c1a0215141a1f015066e8b
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2023-06-07 10:01:10 -07:00
Guru Das Srinagesh
17717e1c51 ANDROID: build: avb_boot_img: Make boot img size configurable
Some targets require different boot image sizes, so allow that to be
configurable instead of hard-coded.

Change-Id: Iaac716f5baf91e99e0e91e71ab7da73edbbb46b7
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2023-06-07 09:49:41 -07:00
Abdul Salam
34225b154a build: Move more options to image_opts
Since, there are more options that are not common to
all targets, move them to image_opts as configurable
options.

Change-Id: I5664be920500ee6da1795812d18945d113567401
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
2023-03-27 10:11:34 +05:30
Cong Zhang
d0036d6f21 build: Add support for CPIO cmdline support
Add support for CPIO cmdline support to remove ramdisk of SVMs.

Change-Id: Ie0bcdfd66f94972c6b72a2285af538a6f4f37173
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2023-03-19 19:18:56 -07:00
John Moon
8503690aa2 build: Add support for Bazel VM builds
Currently, only legacy build.sh support exists for VM
builds.

Add Bazel support for these builds.

Change-Id: I10b221aa4a6633240b984eff333e15f5cd8b82cd
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-14 15:05:22 -08:00