2005-12-31 15:10:20 +01:00
|
|
|
{stdenv, fetchurl, gccCross, kernelHeadersCross, binutilsCross, cross}:
|
2005-11-28 12:19:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
builder = ./builder.sh;
|
|
|
|
name = "uClibc-0.9.28";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.uclibc.org/downloads/uClibc-0.9.28.tar.bz2;
|
|
|
|
md5 = "1ada58d919a82561061e4741fb6abd29";
|
|
|
|
};
|
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
|
|
|
|
else "";
|
|
|
|
|
|
|
|
inherit kernelHeadersCross;
|
|
|
|
buildInputs = [gccCross binutilsCross];
|
|
|
|
inherit cross;
|
2005-11-28 12:19:16 +01:00
|
|
|
}
|