Commit Graph

31 Commits

Author SHA1 Message Date
QCTECMDR Service
88e712d907 Merge "build: Add bazel support for Neo LA" 2024-08-07 07:27:45 -07:00
QCTECMDR Service
b8f2e10b77 Merge "build: bazel: Enable compilation for Seraph SoC" 2024-08-07 07:27:44 -07:00
Navya Vemula
af3839c345 build: bazel: Enable compilation for Seraph SoC
Add initial files to build Seraph with bazel.

Change-Id: I5e9677c43a0a31ddec8c0808c22af7f054b8107c
Signed-off-by: Navya Vemula <quic_nvemula@quicinc.com>
2024-08-06 12:19:58 +05:30
Asit Shah
a5d86b4d37 build: Add bazel support for Neo LA
Add bazel build support for Neo LA platform.

Change-Id: I529549bf4e111e735c01c27833906e919c4d39c6
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-07-29 19:13:36 +05:30
Wei Liu
02c4d2170c bazel: Add support to build autoghgvm_lxc
Add autoghgvm_lxc build target for LVGVM kernel image via bazel
build system.

Change-Id: I56732a4c57f99d369fab32dd462b9278c17d70f2
Signed-off-by: Wei Liu <quic_wliu8@quicinc.com>
2024-07-22 19:29:45 -07:00
qctecmdr
5b40ea9ae2 Merge "build: config: Add build support for Niobe TUIVM" 2024-04-22 04:54:46 -07:00
Asit Shah
49685ed111 build: Add bazel support for anorak
Add bazel build support for anorak platform.

Change-Id: Ic8075f546827b8f808547fde7e78ad0537e0eb70
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-04-18 12:58:59 +05:30
Hrishabh Rajput
2db66c8b2c build: config: Add build support for Niobe TUIVM
Add build configs and bazel files to support TUIVM on Niobe.

Change-Id: I1e81f0b9433defa63b05f286f99c789414aab856
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2024-04-17 12:08:29 +05:30
Ramachandran Venkataramani
4d45076161 build: bazel: Add compilation support for autoghgvm
Add support to compile autoghgvm as msm_kernel_lagvm target.

Change-Id: I21c00ba0bd51bcfb3eb3b86e6a1777c6f78441d5
Signed-off-by: Ramachandran Venkataramani <quic_ramavenk@quicinc.com>
2023-12-21 17:31:48 -08:00
Amrit Anand
814976be07 build: bazel: Enable compilation for Niobe SoC
Add initial files to build Niobe with bazel.

Change-Id: I2c0a2872d589ef6d328088a2b3f879644d8ea60c
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
2023-09-12 15:02:39 +05:30
Wasim Nazir
7f3f49a9ed build: bazel: Enable compilation for Pitti SoC
Add initial files to build Pitti with bazel.

Change-Id: Ic472d67dc6e7c6d7286e53e440bc05101673d5f4
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2023-07-31 17:18:04 +05:30
Yash Jain
d452fb6204 bazel: bazel build system for SA6155
Add support to build SA6155 targets
via bazel build system.

Change-Id: I55fc4de38bf8eb46e75f45fcebcedb44c2530559
Signed-off-by: Yash Jain <quic_yashmj@quicinc.com>
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
2023-06-15 00:47:12 -07:00
Zou Shunxiang
d38d1f661d bazel: Add support to build autogvm_lxc
Add autogvm_lxc build target for LVGVM kernel image via bazel
build system.

Change-Id: I572fd3b6e7ade9f7fd0c1aacc8540bd57bea3abe
Signed-off-by: Zou Shunxiang <quic_shunxian@quicinc.com>
2023-06-01 00:36:11 -07:00
Sankalp Negi
8509239c44 build: Use "lxc" differentiators for monaco_auto target
In order to avoid conflicts with future Android/GKI variants
for same target, use "lxc" as differentiators for monaco_auto.

Change-Id: Ia7bb2d2a0ee30af453c043d375e2e81d203d3822
Signed-off-by: Sankalp Negi <quic_snegi@quicinc.com>
2023-05-16 01:57:26 -07:00
Sankalp Negi
0bef7129bf build: Initial bazel support for gen4auto targets
Add the changes required to build gen4auto targets via
bazel build system.

Change-Id: I5a2ecc0c7f5d7dbab831790219dd5d1c1e89ecd8
Signed-off-by: Sankalp Negi <quic_snegi@quicinc.com>
2023-05-04 04:43:23 -07:00
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