diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-04-27 10:09:45 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-05 22:59:37 +0200 |
commit | 1c2d3183e2e75bd21bc4b7377e76be74ce6e1432 (patch) | |
tree | 39eff2728bf271a3bed884af622f13d06f51d41f /package/cryptodev-linux | |
parent | 20e1e84272701413574633dafe207b40c2a5d6dd (diff) | |
download | buildroot-novena-1c2d3183e2e75bd21bc4b7377e76be74ce6e1432.tar.gz buildroot-novena-1c2d3183e2e75bd21bc4b7377e76be74ce6e1432.zip |
cryptodev-linux: new package
cryptodev-linux is an alternative implementation to ocf-linux.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cryptodev-linux')
-rw-r--r-- | package/cryptodev-linux/cryptodev-linux.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/cryptodev-linux/cryptodev-linux.mk b/package/cryptodev-linux/cryptodev-linux.mk new file mode 100644 index 000000000..1a7822831 --- /dev/null +++ b/package/cryptodev-linux/cryptodev-linux.mk @@ -0,0 +1,28 @@ +############################################################# +# +# cryptodev-linux +# +############################################################# + +CRYPTODEV_LINUX_VERSION = 1.6 +CRYPTODEV_LINUX_SITE = http://download.gna.org/cryptodev-linux +CRYPTODEV_LINUX_DEPENDENCIES = linux +CRYPTODEV_LINUX_INSTALL_STAGING = YES +CRYPTODEV_LICENSE = GPLv2+ +CRYPTODEV_LICENSE_FILES = COPYING + +define CRYPTODEV_LINUX_BUILD_CMDS + $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNEL_DIR=$(LINUX_DIR) +endef + +define CRYPTODEV_LINUX_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNEL_DIR=$(LINUX_DIR) \ + PREFIX=$(TARGET_DIR) modules_install +endef + +define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 644 $(@D)/crypto/cryptodev.h \ + $(STAGING_DIR)/usr/include/crypto/cryptodev.h +endef + +$(eval $(generic-package)) |