summaryrefslogtreecommitdiffstats
path: root/package/cryptodev/cryptodev.mk
blob: b6f4a42d13176b75b7dbe812d19ac788ee24c8a5 (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
#############################################################
#
# Virtual cryptodev package
#
#############################################################

CRYPTODEV_SOURCE =

ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
CRYPTODEV_DEPENDENCIES += cryptodev-linux
endif

ifeq ($(BR2_PACKAGE_OCF_LINUX),y)
CRYPTODEV_DEPENDENCIES += ocf-linux
endif

ifeq ($(CRYPTODEV_DEPENDENCIES),)
define CRYPTODEV_CONFIGURE_CMDS
	echo "No CRYPTODEV implementation defined. Configuration error"
	exit 1
endef
endif

$(eval $(generic-package))