platforms: add scaleway-c1 (armv7 sans NEON)

This commit is contained in:
Eric Litak 2016-04-17 05:06:10 -07:00
parent 124c4b10c4
commit 3b7395683c
2 changed files with 16 additions and 0 deletions

View File

@ -307,6 +307,14 @@ rec {
uboot = null;
};
scaleway-c1 = armv7l-hf-multiplatform // {
gcc = {
cpu = "cortex-a9";
fpu = "vfpv3";
float = "hard";
};
};
guruplug = sheevaplug // {
# Define `CONFIG_MACH_GURUPLUG' (see
# <http://kerneltrap.org/mailarchive/git-commits-head/2010/5/19/33618>)

View File

@ -62,8 +62,15 @@ let
};
};
scaleway-c1-crossSystem.crossSystem = armv7l-hf-multiplatform-crossSystem.crossSystem // rec {
platform = pkgsNoParams.platforms.scaleway-c1;
inherit (platform) gcc;
inherit (gcc) fpu;
};
selectedCrossSystem =
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
if toolsArch == "scaleway" then scaleway-c1-crossSystem else
if toolsArch == "armv6l" then raspberrypiCrossSystem else
if toolsArch == "armv7l" then armv7l-hf-multiplatform-crossSystem else
if toolsArch == "aarch64" then aarch64-multiplatform-crossSystem else null;
@ -277,4 +284,5 @@ rec {
armv6l = buildFor "armv6l";
armv7l = buildFor "armv7l";
aarch64 = buildFor "aarch64";
scaleway = buildFor "scaleway";
}