nixpkgs/lib/systems
s1341 1e1d29c2af treewide: Support aarch64-android using minimal prebuilt components
This PR adds a new aarch64 android toolchain, which leverages the
existing crossSystem infrastructure and LLVM builders to generate a
working toolchain with minimal prebuilt components.

The only thing that is prebuilt is the bionic libc. This is because it
is practically impossible to compile bionic outside of an AOSP tree. I
tried and failed, braver souls may prevail. For now I just grab the
relevant binaries from https://android.googlesource.com/.

I also grab the msm kernel sources from there to generate headers. I've
included a minor patch to the existing kernel-headers derivation in
order to expose an internal function.

Everything else, from binutils up, is using stock code. Many thanks to
@Ericson2314 for his help on this, and for building such a powerful
system in the first place!

One motivation for this is to be able to build a toolchain which will
work on an aarch64 linux machine. To my knowledge, there is no existing
toolchain for an aarch64-linux builder and an aarch64-android target.
2021-05-11 15:39:08 +00:00
..
architectures.nix lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
default.nix bintools-wrapper, cc-wrapper: parameterize darwin min version variable 2021-04-11 09:47:10 +09:00
doubles.nix lib.systems.doubles.netbsd: expand 2021-04-23 22:23:25 +00:00
examples.nix treewide: Support aarch64-android using minimal prebuilt components 2021-05-11 15:39:08 +00:00
inspect.nix Merge master into staging-next 2020-11-16 09:01:53 +01:00
parse.nix lib/systems: remove powerpc64 elfv1 support 2021-03-15 19:27:41 -07:00
platforms.nix lib/systems/platforms: remove TI_CPTS override 2021-02-15 11:23:17 -05:00