summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.sh
blob: 5a9eaf525768d1204e292bef3ba5e4c07bf04d4c (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
#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#

config TARGET_ARCH
	default "sh2" if CONFIG_SH2
	default "sh3" if CONFIG_SH3
	default "sh4" if CONFIG_SH4
	default "sh64" if CONFIG_SH5

config HAVE_ELF
	bool
	default y

config ARCH_CFLAGS
	string

config ARCH_LDFLAGS
	string

config LIBGCC_CFLAGS
	string

config HAVE_DOT_HIDDEN
        bool
	default y

config UCLIBC_COMPLETELY_PIC
        bool
	default y

choice
	prompt "Target Processor Type"
	default CONFIG_SH4
	help
	  This is the processor type of your CPU. This information is used for
	  optimizing purposes, as well as to determine if your CPU has an MMU,
	  an FPU, etc.  If you pick the wrong CPU type, there is no guarantee
	  that uClibc will work at all....

	  Here are the available choices:
	  - "SH2" Hitachi SH2
	  - "SH3" Hitachi SH3
	  - "SH4" Hitachi SH4
	  - "SH5" SH-5 101, 103

config CONFIG_SH2
	select ARCH_HAS_NO_FPU
	select ARCH_HAS_NO_MMU
	bool "SH2"

config CONFIG_SH3
	select HAS_FPU
	select UCLIBC_HAS_MMU
	bool "SH3"

config CONFIG_SH4
	select HAS_FPU
	select UCLIBC_HAS_MMU
	bool "SH4"

config CONFIG_SH5
	select HAS_FPU
	select UCLIBC_HAS_MMU
	bool "SH5"

endchoice