nixpkgs/pkgs
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
..
applications Fix Chromium 2010-02-25 13:22:51 +00:00
build-support Changing linux kernel references from vmlinuz to bzImage. 2010-02-18 11:34:48 +00:00
configs/etc
data Find some mirror for ArkPandora 2010-02-21 07:20:26 +00:00
desktops Making digikam build with kdeedu, to get the marble widget working to geolocate photos. 2010-02-26 10:41:53 +00:00
development After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
games Fix function naming conflict in gnuchess 2010-02-21 08:15:14 +00:00
lib Added library general public license (LGPL 2.0). Although LGPL 2.1 is almost the same, I want to be precise 2010-02-25 15:44:28 +00:00
misc Roll back the changes to TeXLive. I failed to make Context work, and these changes made the situation worse 2010-02-23 19:14:31 +00:00
os-specific After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
servers * Build the Zabbix agent on other platforms. 2010-02-23 12:17:23 +00:00
shells
stdenv
test
tools * nixpkgs: added webalizer 2010-02-25 13:30:34 +00:00
top-level After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00