Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 714 Bytes

bazel.md

File metadata and controls

26 lines (18 loc) · 714 Bytes

🅱️ Building GKI 2.0 kernels with Bazel

← Back to the main guide

Some GKI 2.0 sources dropped the plain make build and use Google's Bazel setup instead. If your kernel is on one of these branches, the build scripts in this repo are not enough on their own:

  • android14-5.15
  • android14-6.1
  • android15-6.6

The common command looks like this:

chmod +x tools/bazel
tools/bazel build --config=fast //common:kernel_aarch64_dist

Note

Every OEM tweaks this. Read Google's build instructions, or your OEM's if they published any, before assuming the command above is right for your source.


← Back to the main guide