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>
This commit is contained in:
parent
fe93cc8b50
commit
17a0165a2a
@ -30,4 +30,9 @@ config BR2_PACKAGE_JPEG_TURBO
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_JPEG
|
||||
string
|
||||
default "libjpeg" if BR2_PACKAGE_LIBJPEG
|
||||
default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
|
||||
|
||||
endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user