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 "$@"

I decided to use android-gs-bluejay-6.1-android15-qpr2-beta.

How can I tell bazel which variant to build?

1 Answer 1

-2

How to build an eng or userdebug aosp kernel (android-15)?

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
Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.