summaryrefslogtreecommitdiff
path: root/kconfig/uclibc-kconfigs/uclibc-mips.kconfig
blob: 692472d600e67e107108c61bb04f3087fb3b92f8 (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
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 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-mips.kconfig
# \brief	uclibc-mips.kconfig of Embtoolkit, similar to
# brief		Configs/Config.mips.
# \author       GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date         September 2009
################################################################################

config KEMBTK_UCLIBC_TARGET_ARCH
	string
	default "mips"

config KEMBTK_UCLIBC_FORCE_OPTIONS_FOR_ARCH
	bool
	default y
	select KEMBTK_UCLIBC_ARCH_ANY_ENDIAN

config KEMBTK_UCLIBC_ARCH_CFLAGS
	string
	default "-mno-split-addresses"

config KEMBTK_UCLIBC_CONFIG_MIPS_O32_ABI
	bool
	default y if EMBTK_ARCH_MIPS_ABI_O32
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_N32_ABI
	bool
	default y if EMBTK_ARCH_MIPS_ABI_N32
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_N64_ABI
	bool
	default y if EMBTK_ARCH_MIPS_ABI_N64
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_1
	bool
	default y if EMBTK_ARCH_MIPS_MIPS1_LITTLE || EMBTK_ARCH_MIPS_MIPS1_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_2
	bool
	default y if EMBTK_ARCH_MIPS_MIPS2_LITTLE || EMBTK_ARCH_MIPS_MIPS2_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_3
	bool
	default y if EMBTK_ARCH_MIPS_MIPS3_LITTLE || EMBTK_ARCH_MIPS_MIPS3_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_4
	bool
	default y if EMBTK_ARCH_MIPS_MIPS4_LITTLE || EMBTK_ARCH_MIPS_MIPS4_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS32
	bool
	default y if EMBTK_ARCH_MIPS_MIPS32_LITTLE || EMBTK_ARCH_MIPS_MIPS32_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS32R2
	bool
	default y if EMBTK_ARCH_MIPS_MIPS32R2_LITTLE \
	|| EMBTK_ARCH_MIPS_MIPS32R2_BIG
	default n

config KEMBTK_UCLIBC_CONFIG_MIPS_ISA_MIPS64
	bool
	default y if EMBTK_ARCH_MIPS_MIPS64_LITTLE \
	|| EMBTK_ARCH_MIPS_MIPS64_BIG || EMBTK_ARCH_MIPS_MIPS64R2_LITTLE \
	|| EMBTK_ARCH_MIPS_MIPS64R2_BIG
	default n