cryptodev: fixing build problems
Some paths/vars were wrong.
This commit is contained in:
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildPhase = if (!onlyHeaders) then ''
|
buildPhase = if (!onlyHeaders) then ''
|
||||||
make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
|
make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
|
||||||
INSTALL_PATH=$out
|
SUBDIRS=`pwd` INSTALL_PATH=$out
|
||||||
'' else ":";
|
'' else ":";
|
||||||
|
|
||||||
installPhase = stdenv.lib.optionalString (!onlyHeaders) ''
|
installPhase = stdenv.lib.optionalString (!onlyHeaders) ''
|
||||||
make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
|
make -C ${kernel}/lib/modules/${kernel.modDirVersion}/build \
|
||||||
INSTALL_PATH=$out SUBDIRS=`pwd` modules_install
|
INSTALL_MOD_PATH=$out SUBDIRS=`pwd` modules_install
|
||||||
'' + ''
|
'' + ''
|
||||||
mkdir -p $out/include/crypto
|
mkdir -p $out/include/crypto
|
||||||
cp crypto/cryptodev.h $out/include/crypto
|
cp crypto/cryptodev.h $out/include/crypto
|
||||||
|
|||||||
Reference in New Issue
Block a user