947cf4125e
Changelog: https://github.com/cryptodev-linux/cryptodev-linux/blob/master/NEWS "* Fix compilation issues against Linux kernel 6.3" Fixes: http://autobuild.buildroot.net/results/9b9/9b9ad744d8a37fc46726461551a2dcb3c26a1341/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
1003 B
Makefile
31 lines
1003 B
Makefile
################################################################################
|
|
#
|
|
# cryptodev-linux
|
|
#
|
|
################################################################################
|
|
|
|
CRYPTODEV_LINUX_VERSION = 1.13
|
|
CRYPTODEV_LINUX_SITE = $(call github,cryptodev-linux,cryptodev-linux,cryptodev-linux-$(CRYPTODEV_LINUX_VERSION))
|
|
CRYPTODEV_LINUX_INSTALL_STAGING = YES
|
|
CRYPTODEV_LINUX_LICENSE = GPL-2.0+
|
|
CRYPTODEV_LINUX_LICENSE_FILES = COPYING
|
|
CRYPTODEV_LINUX_CPE_ID_VENDOR = cryptodev-linux
|
|
|
|
define CRYPTODEV_LINUX_MODULE_GEN_VERSION_H
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) version.h
|
|
endef
|
|
CRYPTODEV_LINUX_PRE_BUILD_HOOKS += CRYPTODEV_LINUX_MODULE_GEN_VERSION_H
|
|
|
|
define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -D -m 644 $(@D)/crypto/cryptodev.h \
|
|
$(STAGING_DIR)/usr/include/crypto/cryptodev.h
|
|
endef
|
|
|
|
define CRYPTODEV_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_AEAD)
|
|
endef
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|