summaryrefslogtreecommitdiff
path: root/core/kconfig/eglibc.kconfig
blob: 1a0ec889879405581fdc5722d6e4a1e814bac643 (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
################################################################################
# Embtoolkit
# Copyright(C) 2009-2016 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         eglibc.kconfig
# \brief	eglibc.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         May 2009
################################################################################

config EMBTK_EGLIBC_CATEGORY
	string
	default "toolchain"

choice
	prompt "EGLIBC branch to checkout"
	help
	 EGLIBC branch to use.

	config EMBTK_EGLIBC_VERSION_2_19
		bool "eglibc-2.19"
		select EMBTK_EGLIBC_NEED_PATCH
	config EMBTK_EGLIBC_VERSION_2_17
		bool "eglibc-2.17"
		select EMBTK_EGLIBC_NEED_PATCH
endchoice

config EMBTK_EGLIBC_VERSION_STRING
	string
	default "2.19"		if EMBTK_EGLIBC_VERSION_2_19
	default "2.17"		if EMBTK_EGLIBC_VERSION_2_17

config EMBTK_EGLIBC_SHA1
	string
	default "0667012d4e4c87b1bb8fdc7ea6d750aeebc69ecb" if EMBTK_EGLIBC_VERSION_2_19
	default "9c308032bbbe52a26f8c4d8363dcca7d6e4905c3" if EMBTK_EGLIBC_VERSION_2_17

config EMBTK_EGLIBC_NEED_PATCH
	bool

comment "------------------------------------"
comment "----- EGLIBC options configuration"
comment "------------------------------------"

config EMBTK_EGLIBC_DISABLE_VERSIONING
	bool
	help
	 EGLIBC supports building the library without compatibility code
	 and symbol versioning.
	 This feature allows reduction of EGLIBC's footprint by omitting
	 functionality that implements older APIs.
	 To build EGLIBC without compatibility code and symbol
	 versioning, answer yes here.


if EMBTK_EGLIBC_VERSION_2_19
source "core/kconfig/eglibc-kconfigs/eglibc-2.19.kconfig"
endif

if EMBTK_EGLIBC_VERSION_2_17
source "core/kconfig/eglibc-kconfigs/eglibc-2.17.kconfig"
endif

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