-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKconfig
157 lines (121 loc) · 4.02 KB
/
Kconfig
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
#
# Kconfig: Main menu structure definition
# Copyright (C) 2005-2008 by Robert Schwebel <[email protected]>
# 2009 by Marc Kleine-Budde <[email protected]>
#
mainmenu "PTXdist $CONFIGFILE_VERSION"
config _ptxconfig_MAGIC__
bool
default y
config BUILD_TOOLCHAIN
bool
select HOST_CHRPATH
default y
config NO_PLATFORM
bool
default y
config PROJECT
string
prompt "Project Name "
help
Name of this project; each PTXdist "Project" specifies a unique
configuration for an embedded Linux project.
Usually you don't have to set this config option; change it
only if you want to have some non-default name.
config PROJECT_CHECK_LICENSES
bool
default y
comment "----------------------------------"
source "workspace/rules/architecture.in"
comment "----------------------------------"
source "workspace/rules/libc.in"
if LIBC_GLIBC
source "workspace/rules/glibc.in"
endif
if LIBC_UCLIBC
source "workspace/rules/uclibc.in"
source "workspace/rules/uclibc-headers.in"
endif
if LIBC_NEWLIB
source "workspace/rules/newlib.in"
endif
if LIBC_AVR
source "workspace/rules/avrlib.in"
endif
source "workspace/rules/cross-binutils.in"
source "workspace/rules/cross-elf2flt.in"
source "workspace/rules/kernel-headers.in"
source "workspace/rules/cross-gcc.in"
source "workspace/rules/cross-gdb.in"
source "workspace/rules/cross-toolchain.in"
source "workspace/rules/host-fake-makeinfo.in"
source "workspace/rules/host-cloog.in"
source "workspace/rules/host-expat.in"
source "workspace/rules/host-gmp.in"
source "workspace/rules/host-isl.in"
source "workspace/rules/host-mpc.in"
source "workspace/rules/host-mpfr.in"
source "workspace/rules/host-xz.in"
source "workspace/rules/host-zlib.in"
source "workspace/rules/host-libelf.in"
source "rules/host-autotools-autoconf.in"
source "rules/host-chrpath.in"
source "rules/host-m4.in"
source "rules/host-system-perl.in"
comment "----------------------------------"
source "workspace/rules/toolchain.in"
menu "misc "
config DESTDIR
string
default "${PTX_AUTOBUILD_DESTDIR}"
config PREFIX
string
prompt "prefix for installation"
default "/opt"
help
Your toolchain will be installed under $PREFIX
config PREFIX_KERNEL
string
depends on KERNEL_HEADERS_SANITIZED
default "-sanitized"
config PREFIX_JAVA
string
depends on CROSS_GCC_LANG_JAVA
default "-java"
config PREFIX_TCID
string
default "gcc-${PTXCONF_CROSS_GCC_VERSION}${PTXCONF_PREFIX_JAVA}-glibc-${PTXCONF_GLIBC_VERSION}-binutils-${PTXCONF_CROSS_BINUTILS_VERSION}-kernel-${PTXCONF_KERNEL_HEADERS_VERSION}${PTXCONF_PREFIX_KERNEL}" if LIBC_GLIBC
default "gcc-${PTXCONF_CROSS_GCC_VERSION}${PTXCONF_PREFIX_JAVA}-uclibc-${PTXCONF_UCLIBC_VERSION}-binutils-${PTXCONF_CROSS_BINUTILS_VERSION}-kernel-${PTXCONF_KERNEL_HEADERS_VERSION}${PTXCONF_PREFIX_KERNEL}" if LIBC_UCLIBC
default "gcc-${PTXCONF_CROSS_GCC_VERSION}-newlib-${PTXCONF_NEWLIB_VERSION}-binutils-${PTXCONF_CROSS_BINUTILS_VERSION}" if LIBC_NEWLIB
default "gcc-${PTXCONF_CROSS_GCC_VERSION}-libc-${PTXCONF_AVRLIB_VERSION}-binutils-${PTXCONF_CROSS_BINUTILS_VERSION}" if LIBC_AVR
config SYSROOT_HOST
string
default "${PTXDIST_PLATFORMDIR}/sysroot-host"
config PREFIX_CROSS
string
default "${PTXCONF_PREFIX}/${PTXCONF_PROJECT}/${PTXCONF_GNU_TARGET}/${PTXCONF_PREFIX_TCID}"
config SYSROOT_CROSS
string
default "${PTXCONF_DESTDIR}${PTXCONF_PREFIX_CROSS}"
config PREFIX_TARGET
string
default "${PTXCONF_PREFIX_CROSS}/sysroot-${PTXCONF_GNU_TARGET}" if TOOLCHAIN_ENABLE_SYSROOT
default "${PTXCONF_PREFIX_CROSS}" if TOOLCHAIN_DISABLE_SYSROOT
config SYSROOT_TARGET
string
default "${PTXCONF_DESTDIR}${PTXCONF_PREFIX_TARGET}"
config PLATFORM
string
default "${PTXCONF_GNU_TARGET}-${PTXCONF_PREFIX_TCID}"
config COMPILER_PREFIX
string
default "${PTXCONF_GNU_TARGET}-"
config TOOLCHAIN_DEBUG
bool
prompt "debuggable toolchain internals"
help
Select this if you want to debug the glibc/libstdc++ internals.
Note: this enlarges your toolchain at about 500 MB.
endmenu
source "workspace/rules/image-toolchain-tgz.in"
source "rules/ptxdist-version.in"