From c7960c340a69735f9d6a93f5f5c95ad70c9c0162 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 18 Jul 2012 18:33:34 +0200 Subject: manually install the kernel modul, add dependency to other kernel modules --- package/cryptodev-linux/Makefile | 9 ++++++--- 1 file 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 -- cgit v1.2.3