diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-18 18:33:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-18 18:33:34 +0200 |
commit | c7960c340a69735f9d6a93f5f5c95ad70c9c0162 (patch) | |
tree | 865daa30a8432228d83d9946ab786be9268a02e2 /package/cryptodev-linux | |
parent | c33cc4f051291d3523ba6d495d4fcd45aac5af91 (diff) |
manually install the kernel modul, add dependency to other kernel modules
Diffstat (limited to 'package/cryptodev-linux')
-rw-r--r-- | package/cryptodev-linux/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/package/cryptodev-linux/Makefile b/package/cryptodev-linux/Makefile index 97117bced..868b3d1bd 100644 --- a/package/cryptodev-linux/Makefile +++ b/package/cryptodev-linux/Makefile @@ -9,6 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 7b0ac1c0a88d8fbe7316db02f21666e6 PKG_DESCR:= cryptodev-linux kernel module PKG_SECTION:= crypto +PKG_DEPENDS:= kmod-crypto-manager2 PKG_URL:= http://home.gna.org/cryptodev-linux/ PKG_SITES:= http://download.gna.org/cryptodev-linux/ @@ -33,8 +34,10 @@ do-install: ${INSTALL_DIR} ${IDIR_CRYPTODEV_LINUX}/usr/include/crypto ${INSTALL_DATA} ${WRKBUILD}/crypto/cryptodev.h \ ${IDIR_CRYPTODEV_LINUX}/usr/include/crypto/ - GCC_HONOUR_COPTS=0 LDFLAGS="" ${MAKE} ${KERNEL_MAKE_OPTS} DEPMOD=false \ - M="${WRKBUILD}" INSTALL_MOD_PATH=${IDIR_CRYPTODEV_LINUX} \ - modules_install + ${INSTALL_DIR} ${IDIR_CRYPTODEV_LINUX}/etc/modules.d/ + echo "cryptodev" > ${IDIR_CRYPTODEV_LINUX}/etc/modules.d/90-cryptodev + ${INSTALL_DIR} ${IDIR_CRYPTODEV_LINUX}/lib/modules/${KERNEL_VERSION}/ + $(INSTALL_DATA) $(WRKBUILD)/cryptodev.ko \ + $(IDIR_CRYPTODEV_LINUX)/lib/modules/${KERNEL_VERSION}/ include ${TOPDIR}/mk/pkg-bottom.mk |