Merge pull request #5087 from pprindeville/cryptodev-post-moduleload-rewrite

cryptodev: simplify for Jo's parameter passing
This commit is contained in:
Philip Prindeville 2017-11-08 01:48:47 +00:00 committed by GitHub
commit d3fe2738fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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