First attempt for the full stdenvCross. I think that it should work. The
toolchain for arm built. svn path=/nixpkgs/branches/stdenv-updates/; revision=18355
This commit is contained in:
@@ -219,6 +219,13 @@ rec {
|
||||
[ (stdenvLinuxBoot3Pkgs.binutilsCross cross)
|
||||
(stdenvLinuxBoot3Pkgs.gccCrossStageFinal cross) ];
|
||||
|
||||
postHook = if (cross != null) then
|
||||
(builtins.toFile "cross-posthook.sh" ''
|
||||
configureFlags="$configureFlags --build=${system} --host=${cross}"
|
||||
dontStrip=1
|
||||
'')
|
||||
else null;
|
||||
|
||||
gcc = wrapGCC rec {
|
||||
inherit (stdenvLinuxBoot2Pkgs) binutils;
|
||||
inherit (stdenvLinuxBoot3Pkgs) coreutils;
|
||||
|
||||
Reference in New Issue
Block a user