Asked 6 days ago
Modified 6 days ago
Viewed 35 times
Part of Mobile Development Collective
0
I want to build an eng
or userdebug
kernel for a pixel 6a. I read https://source.android.com/docs/setup/build/building-pixel-kernels#supported-kernel-branches but it does not mention how to change the variant. I do not want to build the whole aosp if possible. I just need the boot.img
and dklm stuff.
Since android-15 the aosp has pivoted to using bazel as the build system. I can build the regular kernel just fine.
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
exec tools/bazel run \
--config=stamp \
--config=bluejay \
//private/devices/google/bluejay:gs101_bluejay_dist