2003-01-18 22:27:22 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2013-03-07 11:18:35 +01:00
|
|
|
# Virtual jpeg package
|
2003-01-18 22:27:22 +01:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2013-03-07 11:18:35 +01:00
|
|
|
JPEG_SOURCE =
|
2010-09-01 17:27:01 +02:00
|
|
|
|
2013-03-07 11:18:35 +01:00
|
|
|
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))
|