nvidia: branch update 352.63 -> 358.16 (close #12272)

Tested & reviewed by vcunat:
- the patch seems not needed anymore,
- reflects changes in their build system
  ftp://download.nvidia.com/XFree86/packaging/linux/new-kbuild-for-355/README
This commit is contained in:
Svein Ove Aas
2016-01-14 12:32:53 +01:00
committed by Vladimír Čunát
parent a81b396a2e
commit 805d453bc2
3 changed files with 11 additions and 43 deletions
+6 -10
View File
@@ -21,14 +21,6 @@ buildPhase() {
unset src # used by the nv makefile
make SYSSRC=$sysSrc SYSOUT=$sysOut module
# nvidia no longer provides uvm kernel module for 32-bit archs
# http://www.nvidia.com/download/driverResults.aspx/79722/en-us
if [[ "$system" = "x86_64-linux" ]]; then
cd uvm
make SYSSRC=$sysSrc SYSOUT=$sysOut module
cd ..
fi
cd ..
fi
}
@@ -73,8 +65,12 @@ installPhase() {
ln -srnf "$libname" "$libname_short.2"
fi
ln -srnf "$libname" "$libname_short"
ln -srnf "$libname" "$libname_short.1"
if [[ "$libname" != "$libname_short" ]]; then
ln -srnf "$libname" "$libname_short"
fi
if [[ "$libname" != "$libname_short.1" ]]; then
ln -srnf "$libname" "$libname_short.1"
fi
done
#patchelf --set-rpath $out/lib:$glPath $out/lib/libGL.so.*.*