mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
release-cross: add raspberrypi
This commit is contained in:
parent
b59d53cc2d
commit
9229f669fc
@ -318,6 +318,46 @@ let
|
||||
in {
|
||||
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;
|
||||
ed.crossDrv = nativePlatforms;
|
||||
inetutils.crossDrv = nativePlatforms;
|
||||
|
Loading…
Reference in New Issue
Block a user