Hello all, I've been attempting to build the kernel for my android device (this one in particular) as part of a learning exercise. As well as comparing performance to the prebuilt version im using now.
I follow the directions to install it into ndk. Then i use the make standalone script, putting them in another directory.
When making the i run these commands.
export PATH=$PATH:/bin
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- CC=clang CXX=clang++ -j(#cores)
When running i get errors regarding build flags and files. I am currently on mobile build can post output if need be.
From what ive found so far, it seems some patches may be in order to fix it but I couldn't find anything about that.
Thanks guys!
Compiling android kernel with Snapdragon LLVM Compiler
Posted: Mon, 2017-12-18 14:57
This is Google's initial integration: https://android.googlesource.com/kernel/common/+log/android-4.4-llvm
Pick commits after Merge 4.4.91 into android-4.4