platforms: add scaleway-c1 (armv7 sans NEON)
This commit is contained in:
parent
124c4b10c4
commit
3b7395683c
@ -307,6 +307,14 @@ rec {
|
|||||||
uboot = null;
|
uboot = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scaleway-c1 = armv7l-hf-multiplatform // {
|
||||||
|
gcc = {
|
||||||
|
cpu = "cortex-a9";
|
||||||
|
fpu = "vfpv3";
|
||||||
|
float = "hard";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
guruplug = sheevaplug // {
|
guruplug = sheevaplug // {
|
||||||
# Define `CONFIG_MACH_GURUPLUG' (see
|
# Define `CONFIG_MACH_GURUPLUG' (see
|
||||||
# <http://kerneltrap.org/mailarchive/git-commits-head/2010/5/19/33618>)
|
# <http://kerneltrap.org/mailarchive/git-commits-head/2010/5/19/33618>)
|
||||||
|
@ -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 =
|
selectedCrossSystem =
|
||||||
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
|
if toolsArch == "armv5tel" then sheevaplugCrossSystem else
|
||||||
|
if toolsArch == "scaleway" then scaleway-c1-crossSystem else
|
||||||
if toolsArch == "armv6l" then raspberrypiCrossSystem else
|
if toolsArch == "armv6l" then raspberrypiCrossSystem else
|
||||||
if toolsArch == "armv7l" then armv7l-hf-multiplatform-crossSystem else
|
if toolsArch == "armv7l" then armv7l-hf-multiplatform-crossSystem else
|
||||||
if toolsArch == "aarch64" then aarch64-multiplatform-crossSystem else null;
|
if toolsArch == "aarch64" then aarch64-multiplatform-crossSystem else null;
|
||||||
@ -277,4 +284,5 @@ rec {
|
|||||||
armv6l = buildFor "armv6l";
|
armv6l = buildFor "armv6l";
|
||||||
armv7l = buildFor "armv7l";
|
armv7l = buildFor "armv7l";
|
||||||
aarch64 = buildFor "aarch64";
|
aarch64 = buildFor "aarch64";
|
||||||
|
scaleway = buildFor "scaleway";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user