kumquat-buildroot/package/ocf-linux/ocf-linux.mk
Gustavo Zacarias 5308d111b7 ocf-linux: new package
Add the ocf-linux package and linux kernel extension.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-05 16:21:40 +02:00

22 lines
624 B
Makefile

#############################################################
#
# ocf-linux
#
#############################################################
OCF_LINUX_VERSION = 20120127
OCF_LINUX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/ocf-linux/ocf-linux/$(OCF_LINUX_VERSION)
OCF_LINUX_INSTALL_STAGING = YES
define OCF_LINUX_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
$(STAGING_DIR)/usr/include/crypto/cryptodev.h
endef
define OCF_LINUX_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
$(TARGET_DIR)/usr/include/crypto/cryptodev.h
endef
$(eval $(call GENTARGETS))