blob: 2766b6fbbebf672982167a4d86e442ecc9860286 (
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
################################################################################
# Embtoolkit
# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
# For Copyrright from linux kernel's build/configure system, see their source
# code
#
# This program is free software; you can distribute it and/or modify it
# under the terms of the GNU General Public License
# (Version 2 or later) published by the Free Software Foundation.
#
# This program is distributed in the hope 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, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
################################################################################
#
# \file uclibc-arm.kconfig
# \brief uclibc-arm.kconfig of Embtoolkit, similar to Configs/Config.arm.
# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date September 2009
################################################################################
config KEMBTK_UCLIBC_CONFIG_GENERIC_ARM
bool
default y if EMBTK_ARCH_ARM_FAMILY_STRONGARM_SA \
|| EMBTK_ARCH_ARM_FAMILY_STRONGARM_SA-1110 \
|| EMBTK_ARCH_ARM_FAMILY_ARM8_ARM810 \
|| EMBTK_ARCH_ARM_FAMILY_ARM11_MPCORE \
|| EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-A8 \
|| EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-A9 \
|| EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-R4 \
|| EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-R4F
default n
config KEMBTK_UCLIBC_CONFIG_ARM610
bool
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_TARGET_ARCH
string
default "arm"
config KEMBTK_UCLIBC_FORCE_OPTIONS_FOR_ARCH
bool
default y
select KEMBTK_UCLIBC_ARCH_ANY_ENDIAN
config KEMBTK_UCLIBC_CONFIG_ARM_EABI
bool
default y
config KEMBTK_UCLIBC_CONFIG_ARM_OABI
bool
default n
config KEMBTK_UCLIBC_USE_BX
bool "Use BX in function return"
default y
depends on !KEMBTK_UCLIBC_CONFIG_GENERIC_ARM \
&& !KEMBTK_UCLIBC_CONFIG_ARM610 && !KEMBTK_UCLIBC_CONFIG_ARM710
help
Use BX instruction for THUMB aware architectures.
config KEMBTK_UCLIBC_CONFIG_ARM710
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM7TDMI_ARM710T
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM7TDMI
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM7TDMI_ARM7TDMI \
|| EMBTK_ARCH_ARM_FAMILY_ARM7TDMI_ARM7TDMI-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM7TDMI_ARM740T
select KEMBTK_UCLIBC_ARCH_HAS_NO_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM720T
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM7TDMI_ARM720T
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM920T
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM9TDMI_ARM920T \
|| EMBTK_ARCH_ARM_FAMILY_ARM9TDMI_ARM9TDMI \
|| EMBTK_ARCH_ARM_FAMILY_ARM9TDMI_ARM940T
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM922T
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM9TDMI_ARM922T
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM926T
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM9E_ARM926EJ-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM9E_ARM946E-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM9E_ARM966E-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM9E_ARM968E-S
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM10T
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM10E_ARM1020E \
|| EMBTK_ARCH_ARM_FAMILY_ARM10E_ARM1020E \
|| EMBTK_ARCH_ARM_FAMILY_ARM10E_ARM1026EJ-S
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM1136JF_S
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM11_ARM1136JF-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM11_ARM1136J-S \
|| EMBTK_ARCH_ARM_FAMILY_ARM11_ARM1156T2-S
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM1176JZ_S
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM11_ARM1176JZ-S
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM1176JZF_S
bool
default y if EMBTK_ARCH_ARM_FAMILY_ARM11_ARM1176JZF-S
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM_CORTEX_M3
bool
default y if EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-M3
select KEMBTK_UCLIBC_ARCH_HAS_NO_MMU
select KEMBTK_UCLIBC_USE_BX
default n
config KEMBTK_UCLIBC_CONFIG_ARM_CORTEX_M1
bool
default y if EMBTK_ARCH_ARM_FAMILY_CORTEX_CORTEX-M1
select KEMBTK_UCLIBC_ARCH_HAS_NO_MMU
select KEMBTK_UCLIBC_USE_BX
default n
config KEMBTK_UCLIBC_CONFIG_ARM_SA110
bool
default y if EMBTK_ARCH_ARM_FAMILY_STRONGARM_SA-110
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM_SA1100
bool
default y if EMBTK_ARCH_ARM_FAMILY_STRONGARM_SA-1100
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM_XSCALE
bool
default y if EMBTK_ARCH_ARM_FAMILY_XSCALE_XSCALE
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
config KEMBTK_UCLIBC_CONFIG_ARM_IWMMXT
bool
default y if EMBTK_ARCH_ARM_FAMILY_IWMMXT_IWMMXT \
|| EMBTK_ARCH_ARM_FAMILY_IWMMXT_IWMMXT2
select KEMBTK_UCLIBC_ARCH_HAS_MMU
default n
|