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:
parent
e69441be6f
commit
2d09f07c7f
2 changed files with 1 additions and 8 deletions
|
@ -40,6 +40,7 @@ define KernelPackage/cryptodev
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(PKG_BUILD_DIR)/cryptodev.$(LINUX_KMOD_SUFFIX)
|
$(PKG_BUILD_DIR)/cryptodev.$(LINUX_KMOD_SUFFIX)
|
||||||
AUTOLOAD:=$(call AutoLoad,50,$(CRYPTODEV_AUTOLOAD))
|
AUTOLOAD:=$(call AutoLoad,50,$(CRYPTODEV_AUTOLOAD))
|
||||||
|
MODPARAMS.cryptodev:= cryptodev_verbosity=-1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/cryptodev/description
|
define KernelPackage/cryptodev/description
|
||||||
|
@ -70,11 +71,4 @@ define Build/InstallDev
|
||||||
$(CP) $(PKG_BUILD_DIR)/crypto/cryptodev.h $(STAGING_DIR)/usr/include/crypto/
|
$(CP) $(PKG_BUILD_DIR)/crypto/cryptodev.h $(STAGING_DIR)/usr/include/crypto/
|
||||||
endef
|
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))
|
$(eval $(call KernelPackage,cryptodev))
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
cryptodev cryptodev_verbosity=-1
|
|
Loading…
Reference in a new issue