3
0
Fork 0
forked from mirrors/nixpkgs

add some sparc specific stuff

svn path=/nixpkgs/trunk/; revision=4473
This commit is contained in:
Armijn Hemel 2005-12-31 16:30:47 +00:00
parent d23e28873e
commit 714b4fce1c

View file

@ -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;
};