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)
|
2013-04-27 12:09:44 +02:00
|
|
|
OCF_LINUX_DEPENDENCIES = linux
|
2012-05-05 05:30:23 +02:00
|
|
|
OCF_LINUX_INSTALL_STAGING = YES
|
|
|
|
|
2013-04-27 12:09:44 +02:00
|
|
|
define OCF_LINUX_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D)/ocf $(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
|
|
|
|
ocf_modules
|
2012-05-05 05:30:23 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define OCF_LINUX_INSTALL_TARGET_CMDS
|
2013-04-27 12:09:44 +02:00
|
|
|
$(MAKE) -C $(@D)/ocf $(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
|
|
|
|
ocf_install
|
|
|
|
endef
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|