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 "$@"
I decided to use android-gs-bluejay-6.1-android15-qpr2-beta.
How can I tell bazel which variant to build?