2003-08-18 15:32:13 +00:00
|
|
|
Function(["nativeTools"],
|
|
|
|
|
|
|
|
Package(
|
|
|
|
[ ("name", "stdenv-linux")
|
|
|
|
, ("build", Relative("stdenv-linux/stdenv-build.sh"))
|
|
|
|
|
|
|
|
, ("nativeTools", Var("nativeTools"))
|
|
|
|
|
|
|
|
, ("setup", Relative("stdenv-linux/setup.sh"))
|
|
|
|
, ("baseenv", IncludeFix("baseenv/baseenv.fix"))
|
|
|
|
, ("glibc", IncludeFix("glibc/glibc.fix"))
|
|
|
|
|
2003-08-18 16:33:38 +00:00
|
|
|
, ("tools", If(Var("nativeTools"),
|
|
|
|
[],
|
|
|
|
[ IncludeFix("coreutils/coreutils.fix")
|
2003-08-18 16:44:50 +00:00
|
|
|
, IncludeFix("gnused/gnused.fix")
|
2003-08-18 16:59:39 +00:00
|
|
|
, IncludeFix("gnugrep/gnugrep.fix")
|
2003-08-18 16:33:38 +00:00
|
|
|
, IncludeFix("gnutar/gnutar.fix")
|
2003-08-18 17:04:07 +00:00
|
|
|
, IncludeFix("diffutils/diffutils.fix")
|
2003-08-18 16:40:22 +00:00
|
|
|
, IncludeFix("gzip/gzip.fix")
|
2003-08-18 17:08:09 +00:00
|
|
|
, IncludeFix("gnumake/gnumake.fix")
|
2003-08-18 19:41:45 +00:00
|
|
|
, IncludeFix("binutils/binutils.fix")
|
2003-08-18 16:33:38 +00:00
|
|
|
]))
|
2003-08-18 17:49:30 +00:00
|
|
|
|
|
|
|
, ("gcc", If(Var("nativeTools"), "", IncludeFix("gcc/gcc.fix")))
|
2003-08-18 15:32:13 +00:00
|
|
|
]
|
|
|
|
)
|
|
|
|
)
|