summaryrefslogtreecommitdiff
path: root/package/ocf-linux/ocf-linux.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-05 03:30:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-05 16:21:40 +0200
commit5308d111b72bdce228252ebe2e44e28484117c5f (patch)
tree4724a05db45449f470ce08e28c19fee403e75a2f /package/ocf-linux/ocf-linux.mk
parentf18c51657f4ab038654297ccc8fb8e00314c8b60 (diff)
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>
Diffstat (limited to 'package/ocf-linux/ocf-linux.mk')
-rw-r--r--package/ocf-linux/ocf-linux.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/ocf-linux/ocf-linux.mk b/package/ocf-linux/ocf-linux.mk
new file mode 100644
index 000000000..e61522525
--- /dev/null
+++ b/package/ocf-linux/ocf-linux.mk
@@ -0,0 +1,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 $(call GENTARGETS))