summaryrefslogtreecommitdiffstats
path: root/package/jpeg/jpeg.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-12-20 23:27:58 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 18:21:44 +0100
commit17a0165a2a605ca46fea5721674fee2f0b985dbc (patch)
treef1a6112931b1f0b1496bc9ff08fa3d1b2dfa4420 /package/jpeg/jpeg.mk
parentfe93cc8b5006db835ab1e417c2df6c9a0364697b (diff)
package/libjpeg: 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>
Diffstat (limited to 'package/jpeg/jpeg.mk')
-rw-r--r--package/jpeg/jpeg.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk
index eaa23944c..3695bc818 100644
--- a/package/jpeg/jpeg.mk
+++ b/package/jpeg/jpeg.mk
@@ -5,14 +5,7 @@
################################################################################
JPEG_SOURCE =
-
-ifeq ($(BR2_PACKAGE_JPEG_TURBO),y)
-JPEG_DEPENDENCIES += jpeg-turbo
-endif
-
-ifeq ($(BR2_PACKAGE_LIBJPEG),y)
-JPEG_DEPENDENCIES += libjpeg
-endif
+JPEG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_JPEG))
ifeq ($(JPEG_DEPENDENCIES),)
define JPEG_CONFIGURE_CMDS