mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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
|
endchoice
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PROVIDES_JPEG
|
||||||
|
string
|
||||||
|
default "libjpeg" if BR2_PACKAGE_LIBJPEG
|
||||||
|
default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -5,14 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
JPEG_SOURCE =
|
JPEG_SOURCE =
|
||||||
|
JPEG_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_JPEG))
|
||||||
ifeq ($(BR2_PACKAGE_JPEG_TURBO),y)
|
|
||||||
JPEG_DEPENDENCIES += jpeg-turbo
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBJPEG),y)
|
|
||||||
JPEG_DEPENDENCIES += libjpeg
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(JPEG_DEPENDENCIES),)
|
ifeq ($(JPEG_DEPENDENCIES),)
|
||||||
define JPEG_CONFIGURE_CMDS
|
define JPEG_CONFIGURE_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user