···
15
-
/* Basic list of packages to cross-build */
17
-
bison = nativePlatforms;
18
-
busybox = nativePlatforms;
19
-
coreutils = nativePlatforms;
20
-
dropbear = nativePlatforms;
16
+
buildPackages.binutils = nativePlatforms;
17
+
gmp = nativePlatforms;
23
-
/* Basic list of packages to be natively built,
24
-
but need a crossSystem defined to get meaning */
26
-
buildPackages.binutils = nativePlatforms;
20
+
gnuCommon = common // {
buildPackages.gccCrossStageFinal = nativePlatforms;
28
-
buildPackages.gdbCross = nativePlatforms;
22
+
coreutils = nativePlatforms;
31
-
basic = basicCrossDrv // basicNativeDrv;
25
+
linuxCommon = gnuCommon // {
26
+
buildPackages.gdbCross = nativePlatforms;
34
-
buildPackages.binutils = nativePlatforms;
35
-
buildPackages.gccCrossStageFinal = nativePlatforms;
28
+
bison = nativePlatforms;
29
+
busybox = nativePlatforms;
30
+
dropbear = nativePlatforms;
31
+
ed = nativePlatforms;
32
+
ncurses = nativePlatforms;
33
+
patch = nativePlatforms;
37
-
coreutils = nativePlatforms;
36
+
windowsCommon = gnuCommon // {
boehmgc = nativePlatforms;
39
-
gmp = nativePlatforms;
guile_1_8 = nativePlatforms;
libffi = nativePlatforms;
libtool = nativePlatforms;
···
windows.wxMSW = nativePlatforms;
46
+
buildPackages.binutils = darwin;
···
95
-
in mapTestOnCross crossSystem {
96
-
buildPackages.binutils = darwin;
97
+
in mapTestOnCross crossSystem darwinCommon;
···
105
-
in mapTestOnCross crossSystem {
106
-
buildPackages.binutils = darwin;
105
+
in mapTestOnCross crossSystem darwinCommon;
/* Test some cross builds to the Sheevaplug */
crossSheevaplugLinux = let
···
openssl.system = "linux-generic32";
121
-
in mapTestOnCross crossSystem (basic // {
119
+
in mapTestOnCross crossSystem (linuxCommon // {
ubootSheevaplug = nativePlatforms;
···
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
134
-
in mapTestOnCross crossSystem windows;
132
+
in mapTestOnCross crossSystem windowsCommon;
/* Test some cross builds on 64 bit mingw-w64 */
···
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
146
-
in mapTestOnCross crossSystem windows;
144
+
in mapTestOnCross crossSystem windowsCommon;
/* Linux on the fuloong */
···
165
-
in mapTestOnCross crossSystem {
166
-
coreutils = nativePlatforms;
167
-
ed = nativePlatforms;
168
-
patch = nativePlatforms;
163
+
in mapTestOnCross crossSystem linuxCommon;
/* Linux on Raspberrypi */
···
191
-
in mapTestOnCross crossSystem {
192
-
coreutils = nativePlatforms;
193
-
ed = nativePlatforms;
194
-
patch = nativePlatforms;
185
+
in mapTestOnCross crossSystem (linuxCommon // {
ddrescue = nativePlatforms;
···
patchelf = nativePlatforms;
buildPackages.binutils = nativePlatforms;
mpg123 = nativePlatforms;
/* Cross-built bootstrap tools for every supported platform */