Browse Source

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>
lilik-openwrt-22.03
Philip Prindeville 7 years ago
parent
commit
2d09f07c7f
2 changed files with 1 additions and 8 deletions
  1. +1
    -7
      utils/cryptodev-linux/Makefile
  2. +0
    -1
      utils/cryptodev-linux/files/cryptodev.modules

+ 1
- 7
utils/cryptodev-linux/Makefile 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))

+ 0
- 1
utils/cryptodev-linux/files/cryptodev.modules View File

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

Loading…
Cancel
Save