Xiaomi_Kernel_OpenSource icon indicating copy to clipboard operation
Xiaomi_Kernel_OpenSource copied to clipboard

Beware, you have to manually checkout toolchain branch!

Open chraso opened this issue 3 years ago • 0 comments

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

chraso avatar Dec 24 '22 11:12 chraso