Changeset 37231


Ignore:
Timestamp:
2013-07-10T21:42:48+02:00 (5 years ago)
Author:
florian
Message:

kernel: package the HW random core module

And update the crypto-hw-hifn-795x to use it.

Signed-off-by: Florian Fainelli <florian@…>

Location:
trunk/package/kernel/linux/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/crypto.mk

    r37007 r37231  
    165165define KernelPackage/crypto-hw-hifn-795x 
    166166  TITLE:=HIFN 795x crypto accelerator 
    167   KCONFIG:= \ 
    168         CONFIG_HW_RANDOM=y \ 
     167  DEPENDS:=+kmod-random-core 
     168  KCONFIG:= \ 
    169169        CONFIG_CRYPTO_DEV_HIFN_795X \ 
    170170        CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y 
  • trunk/package/kernel/linux/modules/other.mk

    r37164 r37231  
    685685 
    686686$(eval $(call KernelPackage,ptp-gianfar)) 
     687 
     688define KernelPackage/random-core 
     689  SUBMENU:=$(OTHER_MENU) 
     690  TITLE:=Hardware Random Number Generator Core support 
     691  KCONFIG:=CONFIG_HW_RANDOM 
     692  FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko 
     693  AUTOLOAD:=$(call AutoLoad,10,rng-core) 
     694endef 
     695 
     696define KernelPackage/random-core/description 
     697   Kernel module for the HW random number generator core infrastructure 
     698endef 
     699 
     700$(eval $(call KernelPackage,random-core)) 
Note: See TracChangeset for help on using the changeset viewer.