Beware, you have to manually checkout toolchain branch!

Open Beginner friendly
#2,977 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
android, git
Domain
documentation

Research direction

Open the linked Wiki page, How-to-compile-kernel-standalone, and review the toolchain clone step. Document the version-specific git checkout command and explain how to match a tag to the stock Android version. Done means the standalone kernel build instructions include this requirement clearly.

Written by the indexing model from the issue text.

Description

at this instructions page for building standalone kernel
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/wiki/How-to-compile-kernel-standalone

after this step
$ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 toolchain

you should manually checkout via "cd toolchain && git checkout tags/" for android version specific toolchain or your build will fail.
Note: to find a tag, match it to your stock android version number on this page https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9

Dominant language
No language data
Stars
9.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MiCode/Xiaomi_Kernel_OpenSource

All issues in MiCode/Xiaomi_Kernel_OpenSource

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.