5a57148657
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
495 B
Makefile
25 lines
495 B
Makefile
################################################################################
|
|
#
|
|
# jpeg
|
|
#
|
|
################################################################################
|
|
|
|
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))
|