add some sparc specific stuff
svn path=/nixpkgs/trunk/; revision=4473
This commit is contained in:
parent
d23e28873e
commit
714b4fce1c
@ -332,6 +332,11 @@ rec {
|
|||||||
cross = "arm-linux";
|
cross = "arm-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
binutilsSparc = (import ../development/tools/misc/binutils-cross) {
|
||||||
|
inherit fetchurl stdenv noSysDirs;
|
||||||
|
cross = "sparc-linux";
|
||||||
|
};
|
||||||
|
|
||||||
patchelf = (import ../development/tools/misc/patchelf) {
|
patchelf = (import ../development/tools/misc/patchelf) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
@ -489,6 +494,23 @@ rec {
|
|||||||
inherit stdenv;
|
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) {
|
gcc40mips = (import ../build-support/gcc-cross-wrapper) {
|
||||||
nativeTools = false;
|
nativeTools = false;
|
||||||
nativeGlibc = false;
|
nativeGlibc = false;
|
||||||
@ -1460,6 +1482,14 @@ rec {
|
|||||||
cross = "mips-linux";
|
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) {
|
dietlibc = (import ../os-specific/linux/dietlibc) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
@ -1503,6 +1533,11 @@ rec {
|
|||||||
cross = "mips-linux";
|
cross = "mips-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kernelHeadersSparc = (import ../os-specific/linux/kernel-headers-cross) {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
cross = "sparc-linux";
|
||||||
|
};
|
||||||
|
|
||||||
kernel = (import ../os-specific/linux/kernel) {
|
kernel = (import ../os-specific/linux/kernel) {
|
||||||
inherit fetchurl stdenv perl;
|
inherit fetchurl stdenv perl;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user