summaryrefslogtreecommitdiffstats
path: root/package/jpeg/jpeg.mk
blob: 962908df39a7002b629229f00849c0af57c7809a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#############################################################
#
# 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))