74217ada85
This version mainly fixes build issues with more recent kernels. 98b163a cryptlib.c: fix build on kernel v5.5+ 7e72f67 enabled the support for TLS1.1 - AES128-SHA1 - AES256-SHA1 9e76506 Fix build for Linux 5.8-rc1 Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
871 B
Makefile
27 lines
871 B
Makefile
################################################################################
|
|
#
|
|
# cryptodev-linux
|
|
#
|
|
################################################################################
|
|
|
|
CRYPTODEV_LINUX_VERSION = f2927e313b6a74408d17d152abb21aa59d113b46
|
|
CRYPTODEV_LINUX_SITE = $(call github,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_PROVIDES = cryptodev
|
|
|
|
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
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|