2006-03-02 19:01:53 +01:00
|
|
|
{stdenv, fetchurl, gccCross, kernelHeadersCross, binutilsCross, cross, mktemp}:
|
2005-11-28 12:19:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
builder = ./builder.sh;
|
|
|
|
name = "uClibc-0.9.28";
|
|
|
|
src = fetchurl {
|
2006-03-02 19:01:53 +01:00
|
|
|
url = http://www.uclibc.org/downloads/snapshots/uClibc-20060302.tar.bz2;
|
|
|
|
md5 = "3502da5973851a63625791545d459734";
|
2006-01-01 02:55:26 +01:00
|
|
|
#url = http://www.uclibc.org/downloads/uClibc-0.9.28.tar.bz2;
|
|
|
|
#md5 = "1ada58d919a82561061e4741fb6abd29";
|
2005-11-28 12:19:16 +01:00
|
|
|
};
|
2005-12-31 15:10:20 +01:00
|
|
|
config = if cross == "mips-linux"
|
|
|
|
then ./config-mips-linux
|
|
|
|
else if cross == "arm-linux"
|
|
|
|
then ./config-arm-linux
|
2005-12-31 17:29:22 +01:00
|
|
|
else if cross == "sparc-linux"
|
|
|
|
then ./config-sparc-linux
|
2006-01-01 02:55:26 +01:00
|
|
|
else if cross == "powerpc-linux"
|
|
|
|
then ./config-powerpc-linux
|
2005-12-31 17:29:22 +01:00
|
|
|
else "";
|
2005-12-31 15:10:20 +01:00
|
|
|
|
|
|
|
inherit kernelHeadersCross;
|
2006-03-02 19:01:53 +01:00
|
|
|
buildInputs = [gccCross binutilsCross mktemp];
|
2005-12-31 15:10:20 +01:00
|
|
|
inherit cross;
|
2005-11-28 12:19:16 +01:00
|
|
|
}
|