release-cross: add raspberrypi
This commit is contained in:
parent
b59d53cc2d
commit
9229f669fc
@ -318,6 +318,46 @@ let
|
|||||||
in {
|
in {
|
||||||
nanonote = mapTestOnCross crossSystem {
|
nanonote = mapTestOnCross crossSystem {
|
||||||
|
|
||||||
|
coreutils.crossDrv = nativePlatforms;
|
||||||
|
ed.crossDrv = nativePlatforms;
|
||||||
|
inetutils.crossDrv = nativePlatforms;
|
||||||
|
nixUnstable.crossDrv = nativePlatforms;
|
||||||
|
patch.crossDrv = nativePlatforms;
|
||||||
|
zile.crossDrv = nativePlatforms;
|
||||||
|
prboom.crossDrv = nativePlatforms;
|
||||||
|
vim.crossDrv = nativePlatforms;
|
||||||
|
lynx.crossDrv = nativePlatforms;
|
||||||
|
patchelf.crossDrv = nativePlatforms;
|
||||||
|
nix.crossDrv = nativePlatforms;
|
||||||
|
fossil.crossDrv = nativePlatforms;
|
||||||
|
binutils.crossDrv = nativePlatforms;
|
||||||
|
mpg123.crossDrv = nativePlatforms;
|
||||||
|
yacas.crossDrv = nativePlatforms;
|
||||||
|
};
|
||||||
|
}) // (
|
||||||
|
|
||||||
|
|
||||||
|
/* Linux on Raspberrypi */
|
||||||
|
let
|
||||||
|
crossSystem = {
|
||||||
|
config = "armv6l-unknown-linux-gnueabi";
|
||||||
|
bigEndian = false;
|
||||||
|
arch = "arm";
|
||||||
|
float = "hard";
|
||||||
|
fpu = "vfp";
|
||||||
|
withTLS = true;
|
||||||
|
libc = "glibc";
|
||||||
|
platform = pkgs.platforms.raspberrypi;
|
||||||
|
openssl.system = "linux-generic32";
|
||||||
|
gcc = {
|
||||||
|
arch = "armv6";
|
||||||
|
fpu = "vfp";
|
||||||
|
float = "softfp";
|
||||||
|
abi = "aapcs-linux";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
rpi = mapTestOnCross crossSystem {
|
||||||
coreutils.crossDrv = nativePlatforms;
|
coreutils.crossDrv = nativePlatforms;
|
||||||
ed.crossDrv = nativePlatforms;
|
ed.crossDrv = nativePlatforms;
|
||||||
inetutils.crossDrv = nativePlatforms;
|
inetutils.crossDrv = nativePlatforms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user