aboutsummaryrefslogtreecommitdiff
path: root/package/cryptodev/cryptodev.mk
blob: a367293a0162434a990e4cc8113a1f1b5b55100e (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))