cryptodev: simplify for Jo's parameter passing

Don't need to have a bare /etc/modules.d/ file since we can cleanly
synthesize one now.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville 2017-10-24 15:19:34 -06:00
parent e69441be6f
commit 2d09f07c7f
2 changed files with 1 additions and 8 deletions

View file

@ -40,6 +40,7 @@ define KernelPackage/cryptodev
FILES:= \
$(PKG_BUILD_DIR)/cryptodev.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,$(CRYPTODEV_AUTOLOAD))
MODPARAMS.cryptodev:= cryptodev_verbosity=-1
endef
define KernelPackage/cryptodev/description
@ -70,11 +71,4 @@ define Build/InstallDev
$(CP) $(PKG_BUILD_DIR)/crypto/cryptodev.h $(STAGING_DIR)/usr/include/crypto/
endef
define KernelPackage/cryptodev/install
$(INSTALL_DIR) $(1)/etc/modules.d
$(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/50-cryptodev
$(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(INSTALL_DIR) $(1)/usr/sbin
endef
$(eval $(call KernelPackage,cryptodev))

View file

@ -1 +0,0 @@
cryptodev cryptodev_verbosity=-1