kumquat-buildroot/package/cryptodev/cryptodev.mk
Gustavo Zacarias 6235f68222 cryptodev: add new virtual
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-05 22:59:47 +02:00

25 lines
522 B
Makefile

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