summaryrefslogtreecommitdiff
path: root/core/kconfig/uclibc-kconfigs/embtk-uclibc.kconfig
blob: 0e039c3cbd18491f908ba34b40c5dd4b7bf682d5 (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
################################################################################
# Embtoolkit
# Copyright(C) 2009-2014 GAYE Abdoulaye Walsimou.
#
# 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         uclibc.kconfig
# \brief	uclibc.kconfig of Embtoolkit, similar to Configs/Config.in
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         September 2009
################################################################################


#
# Embtk specific
#

comment "----------------------------------------------------------------------"
comment "----- uClibc C library configuration"
comment "----------------------------------------------------------------------"

choice
	prompt "uClibc version to use"
	help
	 Which uClibc version to use.

	config EMBTK_UCLIBC_VERSION_0_9_33_2
		bool "uClibc-0.9.33.2"
		select EMBTK_UCLIBC_NEED_PATCH
	config EMBTK_UCLIBC_VERSION_GIT
		bool "Use a branch of uClibc git repository"
		help
			see http://git.uclibc.org/uClibc
endchoice

config EMBTK_UCLIBC_VERSION_STRING
	string
	default "0.9.33.2"	if EMBTK_UCLIBC_VERSION_0_9_33_2
	default "git"		if EMBTK_UCLIBC_VERSION_GIT

config EMBTK_UCLIBC_REFSPEC
	string
	default "toolchain"

config EMBTK_UCLIBC_GIT_BRANCH
	string "Branch to use"
	default "master"
	depends on EMBTK_UCLIBC_VERSION_GIT
	help
	 The branch of the git repository to use, the default is master.

config EMBTK_UCLIBC_GIT_REVISION
	string "Checkout a specific revision instead of the latest"
	depends on EMBTK_UCLIBC_VERSION_GIT
	help
	 Chechout a specific revision instead of the latest.

config EMBTK_UCLIBC_NEED_PATCH
	bool
	select EMBTK_UCLIBC_HEADERS_NEED_PATCH


config EMBTK_UCLIBC_HEADERS_VERSION_STRING
	string
	default EMBTK_UCLIBC_VERSION_STRING

config EMBTK_UCLIBC_HEADERS_REFSPEC
	string
	default EMBTK_UCLIBC_REFSPEC

config EMBTK_UCLIBC_HEADERS_GIT_BRANCH
	string
	default EMBTK_UCLIBC_GIT_BRANCH

config EMBTK_UCLIBC_HEADERS_GIT_REVISION
	string
	default EMBTK_UCLIBC_GIT_REVISION

config EMBTK_UCLIBC_HEADERS_NEED_PATCH
	bool

#
# uClibc specific
#
source core/kconfig/uclibc-kconfigs/uclibc.kconfig