Commit Graph

16 Commits

Author SHA1 Message Date
Satya Durga Srinivasu Prabhala
9b1bf16be0 ANDROID: build: drop support for Kalama
Drop build support for Kalama to improve build times.

Change-Id: Ic4f615335bcdc0de2feb0894e005567ef90eb165
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-04-20 00:34:06 -07:00
qctecmdr
082ad9b806 Merge "bazel: Add support to build autogvm" 2023-04-17 15:39:31 -07:00
qctecmdr
72377d96d9 Merge "ANDROID: Add pinctrl for Blair on module output lists" 2023-04-17 13:19:47 -07:00
Song Xue
50ddf42ce0 ANDROID: Enable Blair build in bazel
Add initial files needed to build in bazel for Blair.

Change-Id: Ied553b08ff819dc2490c7b46405376ec334fab07
Signed-off-by: Song Xue <quic_songxue@quicinc.com>
2023-04-07 11:47:41 +08:00
Abdul Salam
03346b1577 bazel: Add support to build autogvm
Add changes required to build autogvm targets via bazel
build system.

Change-Id: I756378646eea87c114d3baebfbb329eb357486e0
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
2023-04-05 12:56:46 +05:30
Abdul Salam
c3be9e0586 bazel: Add support to build gen3auto
Add changes required to build gen3auto targets via
bazel build system.

Change-Id: I12d880d58d2b5fa1e0cd34b0b2a087f37147d648
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
2023-03-28 21:04:43 -07:00
Vamsi Krishna Lanka
eac739f93b ANDROID: build: Merge multiple vm images into one
Add a new vm target which combines all the vm target
images into one. This way it will be easier to test
all the vm's at once.

Change-Id: I7c4ffa6f7360ad2e183d48b47683e7270bf9917e
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
2023-02-23 20:53:57 -08:00
Vamsi Krishna Lanka
fb6545c2b1 build: Add Bazel Support for pineapple allyes config build
Currently, only legacy build.sh support exists for Pineapple allyes config.
Add Bazel support for these builds.

Change-Id: I6ee869762f9061c433383fe720769e0dd874facf
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
2023-02-06 11:18:52 -08:00
John Moon
944f85cffc ANDROID: build: Add signing/verity keys to output
Signing keys and certificates are required to sign kernel modules
and dm-verity hash, but these files are not generated in the current
build.

Add a Bazel rule to generate them and add to the output of the VM
distributions. Also add the scripts and pre-generated key required
to use them.

Change-Id: I1909548911b3d5742c75b3128f6b17b18ef789b4
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-02-03 05:26:06 -08:00
John Moon
16bce14397 ANDROID: Enable oemvm builds in Bazel
Currently, only tuivm builds are available.

Enable the oemvm targets.

Change-Id: I5acda1e41150467726be27fcb57fd9146a425ca8
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-12-19 09:40:20 -08:00
John Moon
0dec7d25a5 Revert "build: adding top-level DDK headers definition"
This reverts commit 7f1305d0f5.

Upstream ACK adds their own all_headers target, so remove ours and
make way for theirs instead.

Change-Id: I7bec32507c3da1b6c98d94392682082bd35e73e4
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-12-07 09:48:54 -08:00
John Moon
c2170f5e11 build: Change paths to Bazel extensions
The canonical location of msm_kernel_extensions.bzl is changing.

Update the load() calls to the new location.

Change-Id: I27df6131de155cd0592cad5d57202ca01c4affb5
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-20 17:40:14 -08:00
John Moon
7f1305d0f5 build: adding top-level DDK headers definition
Currently, kernel_module() Kleaf rules will automatically include
kernel headers based on the input kernel_build parameter.

The new ddk_module() rule requires kernel headers to be explicitly
exported to the build system.

Change-Id: I3b4808270e0c70adf38ba382000172d7b81fda61
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-14 15:08:01 -08:00
John Moon
f59bdfb286 build: Add top-level rule definition in bazel extensions
Currently, the only rules that can be defined in msm_kernel_extensions.bzl
are invoked for each target. If a rule just needs to be declared once at
the top level, there's no way to do that.

Add and invoke a new macro from the top-level to enable this functionality.

Change-Id: I239c0e44f6938dee7dda4c0cb1434f9bf925b13c
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-14 15:06:47 -08: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
John Moon
59ff6820c9 ANDROID: enable pineapple kleaf build
Kleaf replaces build.sh. Define pineapple target in Bazel
so it may be built with the following command:

tools/bazel run //msm-kernel:pineapple_gki

Change-Id: If78ea5482898f92b751cad8542401ba12d9663bf
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-10-31 11:09:02 -07:00