diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 6928a988c4aa..abfc478321cc 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -332,6 +332,11 @@ rec { cross = "arm-linux"; }; + binutilsSparc = (import ../development/tools/misc/binutils-cross) { + inherit fetchurl stdenv noSysDirs; + cross = "sparc-linux"; + }; + patchelf = (import ../development/tools/misc/patchelf) { inherit fetchurl stdenv; }; @@ -489,6 +494,23 @@ rec { inherit stdenv; }; + gcc40sparc = (import ../build-support/gcc-cross-wrapper) { + nativeTools = false; + nativeGlibc = false; + cross = "sparc-linux"; + gcc = (import ../development/compilers/gcc-4.0-cross) { + inherit fetchurl stdenv noSysDirs; + langF77 = false; + langCC = false; + binutilsCross = binutilsSparc; + kernelHeadersCross = kernelHeadersSparc; + cross = "sparc-linux"; + }; + inherit (stdenv.gcc) glibc; + binutils = binutilsSparc; + inherit stdenv; + }; + gcc40mips = (import ../build-support/gcc-cross-wrapper) { nativeTools = false; nativeGlibc = false; @@ -1460,6 +1482,14 @@ rec { cross = "mips-linux"; }; + #uclibcSparc = (import ../development/uclibc) { + # inherit fetchurl stdenv; + # kernelHeadersCross = kernelHeadersSparc; + # binutilsCross = binutilsSparc; + # gccCross = gcc40sparc; + # cross = "sparc-linux"; + #}; + dietlibc = (import ../os-specific/linux/dietlibc) { inherit fetchurl stdenv; }; @@ -1503,6 +1533,11 @@ rec { cross = "mips-linux"; }; + kernelHeadersSparc = (import ../os-specific/linux/kernel-headers-cross) { + inherit fetchurl stdenv; + cross = "sparc-linux"; + }; + kernel = (import ../os-specific/linux/kernel) { inherit fetchurl stdenv perl; };