lib: Consolidate platform configurations (used for crossSystem)

This is good for maintenance and education.
This commit is contained in:
John Ericson
2017-05-29 18:56:03 -04:00
parent b20f20d3eb
commit 20e756a093
6 changed files with 200 additions and 173 deletions
+8 -1
View File
@@ -255,6 +255,10 @@ rec {
arch = "armv6";
fpu = "vfp";
float = "hard";
# TODO(@Ericson2314) what is this and is it a good idea? It was
# used in some cross compilation examples but not others.
#
# abi = "aapcs-linux";
};
};
@@ -460,7 +464,10 @@ rec {
'';
kernelTarget = "vmlinux";
uboot = null;
gcc.arch = "loongson2f";
gcc = {
arch = "loongson2f";
abi = "n32";
};
};
beaglebone = armv7l-hf-multiplatform // {