blob: 1a782283179c08cac587f59bcef9fed03c975ba5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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))
|