8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
511 B
Makefile
25 lines
511 B
Makefile
################################################################################
|
|
#
|
|
# virtual jpeg package
|
|
#
|
|
################################################################################
|
|
|
|
JPEG_SOURCE =
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG_TURBO),y)
|
|
JPEG_DEPENDENCIES += jpeg-turbo
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBJPEG),y)
|
|
JPEG_DEPENDENCIES += libjpeg
|
|
endif
|
|
|
|
ifeq ($(JPEG_DEPENDENCIES),)
|
|
define JPEG_CONFIGURE_CMDS
|
|
echo "No JPEG implementation defined. Configuration error"
|
|
exit 1
|
|
endef
|
|
endif
|
|
|
|
$(eval $(generic-package))
|