aboutsummaryrefslogtreecommitdiff
path: root/package/jpeg/jpeg.mk
diff options
context:
space:
mode:
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 eaa23944c1..3695bc818d 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