aboutsummaryrefslogtreecommitdiffstats
path: root/package/ocf-linux/ocf-linux.mk
blob: 5d255977d81be1ced1d84a6e9e816588a2d7919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# 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 $(generic-package))