lockdep: 3.16.1 -> 3.17
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
e73aefcf93
commit
df4c8d85ae
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lockdep-${version}";
|
name = "lockdep-${version}";
|
||||||
version = "3.16.1";
|
version = "3.17";
|
||||||
|
fullver = "3.17.0"; # The library ver is 3.17.0, but the kernel is 3.17
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0wbxqlmk7w9047ir51dsz6vi7ww0hpycgrb43mk2a189xaldsdxy";
|
sha256 = "0lb2yyh3j932789jq4gxx9xshgy6rfdnl3lm8yr43kaz7k4kw5gm";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "cd tools/lib/lockdep";
|
preConfigure = "cd tools/lib/lockdep";
|
||||||
|
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
cp -R include/liblockdep $out/include
|
cp -R include/liblockdep $out/include
|
||||||
make install DESTDIR=$out prefix=""
|
make install DESTDIR=$out prefix=""
|
||||||
|
|
||||||
substituteInPlace $out/bin/lockdep --replace "./liblockdep.so" "$out/lib/liblockdep.so.$version"
|
substituteInPlace $out/bin/lockdep --replace "./liblockdep.so" "$out/lib/liblockdep.so.$fullver"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue