2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-27 12:09:45 +02:00
|
|
|
#
|
|
|
|
# cryptodev-linux
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-27 12:09:45 +02:00
|
|
|
|
2015-02-17 22:18:32 +01:00
|
|
|
CRYPTODEV_LINUX_VERSION = 1.7
|
2013-04-27 12:09:45 +02:00
|
|
|
CRYPTODEV_LINUX_SITE = http://download.gna.org/cryptodev-linux
|
|
|
|
CRYPTODEV_LINUX_DEPENDENCIES = linux
|
|
|
|
CRYPTODEV_LINUX_INSTALL_STAGING = YES
|
2014-07-03 22:00:39 +02:00
|
|
|
CRYPTODEV_LINUX_LICENSE = GPLv2+
|
|
|
|
CRYPTODEV_LINUX_LICENSE_FILES = COPYING
|
2013-04-27 12:09:45 +02:00
|
|
|
|
|
|
|
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))
|