blob: e11ec1008116021332a80d3a644d0a3351ab2143 (
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
|
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
#
mainmenu "uClibc C Library Configuration"
menu "Target Architecture Features and Options"
config HAVE_ELF
bool
default y
config C_SYMBOL_PREFIX
string
default ""
config ARCH_CFLAGS
string
default ""
config ARCH_LDFLAGS
string
default ""
config LIBGCC_CFLAGS
string
default ""
choice
prompt "Target Processor Type"
default CONFIG_GENERIC_ARM
help
This is the processor type of your CPU. This information is used for
optimizing purposes. To build a library that will run on all ARMCPU
types (albeit not optimally fast), you can specify "Generic Arm" here.
If you pick anything other than "Generic Arm", there is no guarantee
that uClibc will even run on anything other than the selected processor
type.
Here are the settings recommended for greatest speed:
- "Generic Arm" for any ARM core
- "arm7tdmi" an MMU-less ARM core such as those distributed
by Atmel, Samsung, and others.
- "StrongARM" for Intel's StrongARM cores, such as the
StrongARM 110/1100/1110.
- "XScale" for Intel's XScale processors
If you don't know what to do, choose "Generic Arm".
config CONFIG_GENERIC_ARM
bool "Generic Arm"
config CONFIG_ARM7TDMI
bool "arm7tdmi"
config CONFIG_STRONGARM
bool "StrongARM"
config CONFIG_XSCALE
bool "XScale"
endchoice
config ARCH_HAS_NO_MMU
bool
default y if CONFIG_ARM7TDMI
config CPU_CFLAGS
string
default "" if CONFIG_GENERIC_ARM
default "-march=arm7tdmi" if CONFIG_ARM7TDMI
default "-march=strongarm" if CONFIG_STRONGARM
default "$(call check_gcc,-march=xscale,-march=strongarm)" if CONFIG_XSCALE
source "extra/Configs/Config.in.arch"
endmenu
source "extra/Configs/Config.in"
|