forked from mirrors/nixpkgs
GNU Mach: Add full build.
svn path=/nixpkgs/trunk/; revision=21986
This commit is contained in:
parent
f3ac7c55ec
commit
883ab19eb4
|
@ -1,5 +1,5 @@
|
|||
{ fetchgit, stdenv, mig ? null, autoconf, automake, texinfo
|
||||
, headersOnly ? true }:
|
||||
, headersOnly ? false }:
|
||||
|
||||
assert (!headersOnly) -> (mig != null);
|
||||
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation ({
|
|||
|
||||
configureFlags = "--build=i586-pc-gnu";
|
||||
|
||||
buildInputs = [ autoconf automake texinfo ]
|
||||
buildNativeInputs = [ autoconf automake texinfo ]
|
||||
++ stdenv.lib.optional (mig != null) mig;
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
@ -41,6 +41,7 @@ stdenv.mkDerivation ({
|
|||
homepage = http://www.gnu.org/software/hurd/microkernel/mach/gnumach.html;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = [ "i586-gnu" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -6571,6 +6571,14 @@ let
|
|||
inherit fetchurl stdenv udev;
|
||||
};
|
||||
|
||||
# In theory GNU Mach doesn't have to be cross-compiled. However, since it
|
||||
# has to be built for i586 (it doesn't work on x86_64), one needs a cross
|
||||
# compiler for that host.
|
||||
mach = import ../os-specific/gnu/mach {
|
||||
inherit fetchgit stdenv autoconf texinfo mig;
|
||||
automake = automake111x;
|
||||
};
|
||||
|
||||
machHeaders = import ../os-specific/gnu/mach {
|
||||
inherit fetchgit stdenv autoconf texinfo;
|
||||
automake = automake111x;
|
||||
|
|
Loading…
Reference in a new issue