summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.arm
blob: ed5d842294045414552be69a93a3fa06a7e83941 (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
#
# 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"

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 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"