aboutsummaryrefslogtreecommitdiff
path: root/package/jpeg/jpeg.mk
blob: 207edc8dd03ad78f9aa9c46bc233f9547b5686b7 (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))