Making mesa build the DRI driver, required by the xorg server on the Fuloong2F
svn path=/nixpkgs/branches/stdenv-updates/; revision=23051
This commit is contained in:
parent
2595ec4f4b
commit
b45e219eec
@ -14,6 +14,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
"--disable-gallium"
|
"--disable-gallium"
|
||||||
|
+ (if stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux" then
|
||||||
|
" --with-dri-drivers=swrast --with-driver=dri" else "")
|
||||||
+ (if stdenv.isDarwin then " --disable-egl" else "");
|
+ (if stdenv.isDarwin then " --disable-egl" else "");
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -149,8 +149,6 @@ in
|
|||||||
rm -fr $out/share/X11/xkb/compiled
|
rm -fr $out/share/X11/xkb/compiled
|
||||||
ln -s /var/tmp $out/share/X11/xkb/compiled
|
ln -s /var/tmp $out/share/X11/xkb/compiled
|
||||||
'';
|
'';
|
||||||
configureFlagsArray = args.stdenv.lib.optionals
|
|
||||||
(args.stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux") [ "--disable-dri" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") {
|
libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user