mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-07 22:06:25 +08:00
kernel: Add kmod-crypto-xxhash
kxxhash_generic.ko is a soft dependency of kmod-fs-btrfs, but we did not package it. Extract the kmod-lib-xxhash and then package xxhash_generic.ko. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/15833 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:

committed by
Christian Marangi

parent
f89091bba6
commit
2ebeda0294
@ -1170,3 +1170,15 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-xts))
|
||||
|
||||
|
||||
define KernelPackage/crypto-xxhash
|
||||
TITLE:=xxHash non-cryptographic hash algorithm
|
||||
DEPENDS:=+kmod-crypto-hash +kmod-lib-xxhash
|
||||
KCONFIG:=CONFIG_CRYPTO_XXHASH
|
||||
FILES:=$(LINUX_DIR)/crypto/xxhash_generic.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,xxhash_generic)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-xxhash))
|
||||
|
||||
|
Reference in New Issue
Block a user