4f00b909b9
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
717 B
Makefile
27 lines
717 B
Makefile
################################################################################
|
|
#
|
|
# ocf-linux
|
|
#
|
|
################################################################################
|
|
|
|
OCF_LINUX_VERSION = 20171122
|
|
OCF_LINUX_SITE = http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/$(OCF_LINUX_VERSION)
|
|
OCF_LINUX_INSTALL_STAGING = YES
|
|
|
|
OCF_LINUX_PROVIDES = cryptodev
|
|
|
|
OCF_LINUX_MODULE_SUBDIRS = ocf
|
|
OCF_LINUX_MODULE_MAKE_OPTS = \
|
|
CONFIG_OCF_OCF=m \
|
|
CONFIG_OCF_CRYPTOSOFT=m \
|
|
CONFIG_OCF_BENCH=m \
|
|
CONFIG_OCF_OCFNULL=m
|
|
|
|
define OCF_LINUX_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
|
|
$(STAGING_DIR)/usr/include/crypto/cryptodev.h
|
|
endef
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|