summaryrefslogtreecommitdiff
path: root/kconfig/eglibc.kconfig
blob: 9f09459255f2108bc07f518f66d94132f9521e2a (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
################################################################################
# Embtoolkit
# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved.
#
# 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 3 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         eglibc.kconfig
# \brief	eglibc.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         May 2009
################################################################################
choice
	prompt "EGLIBC branch to checkout"
	help
	 EGLIBC branch to use.

	config EMBTK_EGLIBC_VERSION_2_12
		bool "eglibc-2.12"
	config EMBTK_EGLIBC_VERSION_2_11
		bool "eglibc-2.11"
	config EMBTK_EGLIBC_VERSION_2_10
		bool "eglibc-2.10"
	config EMBTK_EGLIBC_VERSION_2_9
		bool "eglibc-2.9"
	config EMBTK_EGLIBC_VERSION_TRUNK
		bool "trunk (development version)"
endchoice

config EMBTK_EGLIBC_SVN_REVISION
	int "EGLIBC SVN revision to checkout (Please read the help below)"
	help
		EGLIBC svn revision to use.
		This revision is the latest at EmbToolkit release. If at the
		moment you build your toolchain new revision is available,
		you can increase this value.

		At EmbToolkit release, eglibc svn revisions are:
		12323	for eglibc-2.12
		12231	for eglibc-2.11
		10152	for eglibc-2.10
		10153	for eglibc-2.9
		12322	for eglibc-trunk (development version)

	default 12323	if EMBTK_EGLIBC_VERSION_2_12
	default 12231	if EMBTK_EGLIBC_VERSION_2_11
	default 10152	if EMBTK_EGLIBC_VERSION_2_10
	default 10153	if EMBTK_EGLIBC_VERSION_2_9
	default 12322	if EMBTK_EGLIBC_VERSION_TRUNK

config EMBTK_EGLIBC_BRANCH_STRING
	string
	default "2_12"		if EMBTK_EGLIBC_VERSION_2_12
	default "2_11"		if EMBTK_EGLIBC_VERSION_2_11
	default "2_10"		if EMBTK_EGLIBC_VERSION_2_10
	default "2_9"		if EMBTK_EGLIBC_VERSION_2_9

config EMBTK_EGLIBC_VERSION_STRING
	string
	default "2.12"		if EMBTK_EGLIBC_VERSION_2_12
	default "2.11"		if EMBTK_EGLIBC_VERSION_2_11
	default "2.10"		if EMBTK_EGLIBC_VERSION_2_10
	default "2.9"		if EMBTK_EGLIBC_VERSION_2_9
	default "trunk"		if EMBTK_EGLIBC_VERSION_TRUNK

#Does we need patches?
config EMBTK_EGLIBC_NEED_PATCH
	bool
	default y

if EMBTK_EGLIBC_VERSION_2_12
source "kconfig/eglibc-kconfigs/eglibc-2.12.kconfig"
endif

if EMBTK_EGLIBC_VERSION_2_11
source "kconfig/eglibc-kconfigs/eglibc-2.11.kconfig"
endif

if EMBTK_EGLIBC_VERSION_2_10
source "kconfig/eglibc-kconfigs/eglibc-2.10.kconfig"
endif

if EMBTK_EGLIBC_VERSION_2_9
source "kconfig/eglibc-kconfigs/eglibc-2.9.kconfig"
endif

if EMBTK_EGLIBC_VERSION_TRUNK
source "kconfig/eglibc-kconfigs/eglibc-trunk.kconfig"
endif