2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-05 05:30:23 +02:00
|
|
|
#
|
|
|
|
# ocf-linux
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-05 05:30:23 +02:00
|
|
|
|
|
|
|
OCF_LINUX_VERSION = 20120127
|
2012-08-26 01:52:48 +02:00
|
|
|
OCF_LINUX_SITE = http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/$(OCF_LINUX_VERSION)
|
2012-05-05 05:30:23 +02:00
|
|
|
OCF_LINUX_INSTALL_STAGING = YES
|
|
|
|
|
2015-07-12 02:21:37 +02:00
|
|
|
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
|
2013-04-27 12:09:44 +02:00
|
|
|
|
|
|
|
define OCF_LINUX_INSTALL_STAGING_CMDS
|
2012-05-05 05:30:23 +02:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
|
2013-04-27 12:09:44 +02:00
|
|
|
$(STAGING_DIR)/usr/include/crypto/cryptodev.h
|
2012-05-05 05:30:23 +02:00
|
|
|
endef
|
|
|
|
|
2015-07-12 02:21:37 +02:00
|
|
|
$(eval $(kernel-module))
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|