I had this in the back of my mind for a while, probably since I saw 2017 Google Pixel phones shipped with a clang compiled kernel: https://lkml.org/lkml/2017/11/22/943
Doing some digging it seems like Google considers LLVM/clang the default based them setting LLVM=1
in the default build.config for their most recent kernel that supports the legacy https://build.sh
system
https://source.android.com/docs/setup/reference/bazel-support
https://docs.kernel.org/kbuild/llvm.html
https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.15/build.config.common
I am only focusing on the compiler because as far as I a tell that was the final keystone of Android's system that was part of GNU.
As far as I know they always used their own libc never glibc - https://en.wikipedia.org/wiki/Bionic_(software)
They also never used gnu coreutils and used busybox but that was replaced by Toybox in 2014 with Android 6.0 https://en.wikipedia.org/wiki/Toybox
They also use mksh
not even bash
for their shell https://en.wikipedia.org/wiki/KornShell
Follower of Christ Tech lover, IT Admin, heckin pupper lover and occasionally troll. I hold back feelings or opinions, right or wrong because I dislike conflict.
Jump in the discussion.
No email address required.
I don't think many linux users ever really considered android as anything close to 'real' linux. It uses some linux software but otherwise everything is very locked down and un-free and being opposite to that spirit of freeness is probably the most important thing of whether something is linuxy rather than does it use bash or not etc
Jump in the discussion.
No email address required.
More options
Context