kumquat-buildroot/package/cryptodev-linux/cryptodev-linux.mk
Alexandre Belloni 8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00

29 lines
846 B
Makefile

################################################################################
#
# 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))