package/cryptodev: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2013-12-20 23:27:59 +01:00 committed by Thomas Petazzoni
parent 17a0165a2a
commit 569b842985
2 changed files with 6 additions and 8 deletions

View File

@ -37,4 +37,9 @@ config BR2_PACKAGE_OCF_LINUX
endchoice
config BR2_PACKAGE_PROVIDES_CRYPTODEV
string
default "cryptodev-linux" if BR2_PACKAGE_CRYPTODEV_LINUX
default "ocf-linux" if BR2_PACKAGE_OCF_LINUX
endif

View File

@ -5,14 +5,7 @@
################################################################################
CRYPTODEV_SOURCE =
ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
CRYPTODEV_DEPENDENCIES += cryptodev-linux
endif
ifeq ($(BR2_PACKAGE_OCF_LINUX),y)
CRYPTODEV_DEPENDENCIES += ocf-linux
endif
CRYPTODEV_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_CRYPTODEV))
ifeq ($(CRYPTODEV_DEPENDENCIES),)
define CRYPTODEV_CONFIGURE_CMDS