summaryrefslogtreecommitdiff
path: root/packages/graphics/libjpeg/libjpeg.kconfig
blob: 3fecb0cf289f0869e185ddf1c6ab40d0af041962 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         libjpeg.kconfig
# \brief	libjpeg.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         October 2009
################################################################################

config EMBTK_HOST_HAVE_LIBJPEG
	bool
	select EMBTK_LIBJPEG_PKG_IS_TARGZ
	help
		JPEG (pronounced "jay-peg") for host development machine.

config EMBTK_HAVE_LIBJPEG
	bool "Have libjpeg"
	select EMBTK_LIBJPEG_PKG_IS_TARGZ
	help
		JPEG (pronounced "jay-peg") is a standardized image compression
		mechanism. JPEG stands for Joint Photographic Experts Group, the
		original name of the committee that wrote the standard.

choice
	prompt "libjpeg version you wish"
	depends on EMBTK_HAVE_LIBJPEG || EMBTK_HOST_HAVE_LIBJPEG
	help
		Here you can choose which version of libjpeg you want to use.

	config  EMBTK_LIBJPEG_VERSION_V8
		bool "libjpeg-8"
	config  EMBTK_LIBJPEG_VERSION_V7
		bool "libjpeg-7"
endchoice

config	EMBTK_LIBJPEG_VERSION_STRING
	string
	default "8"		if EMBTK_LIBJPEG_VERSION_V8
	default "7"		if EMBTK_LIBJPEG_VERSION_V7

config EMBTK_LIBJPEG_NEED_PATCH
	bool
	select EMBTK_LIBJPEG_HOST_NEED_PATCH
config EMBTK_LIBJPEG_NEED_AUTORECONF
	bool
	select EMBTK_LIBJPEG_HOST_NEED_AUTORECONF
config EMBTK_LIBJPEG_PKG_IS_TARGZ
	bool
	select EMBTK_LIBJPEG_HOST_PKG_IS_TARGZ
config EMBTK_LIBJPEG_PKG_IS_TARBZ2
	bool
	select EMBTK_LIBJPEG_HOST_PKG_IS_TARBZ2

config EMBTK_LIBJPEG_HOST_NEED_PATCH
	bool
config EMBTK_LIBJPEG_HOST_NEED_AUTORECONF
	bool
config EMBTK_LIBJPEG_HOST_PKG_IS_TARGZ
	bool
config EMBTK_LIBJPEG_HOST_PKG_IS_TARBZ2
	bool