blob: d9452700637f6e479e62439396f773b9d1a881c6 (
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
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
|
#
# Kconfig: Main menu structure definition
# Copyright (C) Robert Schwebel <r.schwebel@pengutronix.de> 2005, 2006
#
#
# TODO
#
# GLIBC_EXTRA_CC_ARGS
# EXTRA_TARGET_CFLAGS
# GCC_BUILD
# GCC_HOST
# SHARED_MODE
#
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 CONFIGFILE_VERSION
string
prompt "PTXdist version "
default "0.10.svn"
help
Specifies which PTXdist version this project is being built with.
source "workspace/rules/glibc.in"
source "workspace/rules/glibc-headers.in"
source "workspace/rules/glibc-crt.in"
source "workspace/rules/glibc-final.in"
source "workspace/rules/glibc-ports.in"
source "workspace/rules/glibc-linuxthreads.in"
source "workspace/rules/cross-binutils.in"
source "workspace/rules/kernel-headers.in"
source "workspace/rules/cross-gcc-first.in"
source "workspace/rules/cross-gcc-second.in"
source "workspace/rules/cross-gdb.in"
source "workspace/rules/cross-toolchain.in"
comment " "
choice
prompt "architecture "
config ARCH_ARM
bool "arm "
config ARCH_MIPS
bool "mips "
config ARCH_POWERPC
bool "powerpc"
config ARCH_I386
bool "i368 "
help
This option specifies the toolchain architecture. It corresponds to
the arch/ directory of the Linux kernel.
endchoice
config ARCH
string
default "arm" if ARCH_ARM
default "mips" if ARCH_MIPS
default "powerpc" if ARCH_POWERPC
default "i386" if ARCH_I386
config GNU_TARGET
string
prompt "toolchain target"
help
The GNU_TARGET specifies which toolchain variant is to be
built.
config COMPILER_PREFIX
string
default "${PTXCONF_GNU_TARGET}-"
help
This is the prefix used to create the correct cross compiler name. If the
prefix is equal to the GNU Target you can use "${PTXCONF_GNU_TARGET}-" to
use it.
menu "misc "
config CONFIGFILE_VERSION
string
prompt "ptxdist version"
default "0.10.4"
help
Specify the PTXdist version this configuration was tested with
here. This is an additional sanity check to make sure that
only tested versions are built.
config PREFIX_KERNEL
string
default "-sanitized" if KERNEL_HEADERS_SANIZIZED
default "" if !KERNEL_HEADERS_SANIZIZED
config PREFIX_FIRST
string
prompt "first prefix"
default "/opt/${PTXCONF_PROJECT}"
help
Your toolchain will be installed under PREFIX_FIRST/PREFIX_SECOND
The intention behind this is that you can change the installation
directory with PREFIX_FIRST while keeping the directory which
describes what kind of toolchain you have (PREFIX_SECOND)
config PREFIX_SECOND
string
prompt "second prefix"
default "${PTXCONF_GNU_TARGET}/gcc-${PTXCONF_CROSS_GCC_FIRST_VERSION}-glibc-${PTXCONF_GLIBC_VERSION}-kernel-${PTXCONF_KERNEL_HEADERS_VERSION}${PTXCONF_PREFIX_KERNEL}"
help
Your toolchain will be installed under PREFIX_FIRST/PREFIX_SECOND
The intention behind this is that you can change the installation
directory with PREFIX_FIRST while keeping the directory which
describes what kind of toolchain you have (PREFIX_SECOND)
config PREFIX
string
default "${PTXCONF_PREFIX_FIRST}/${PTXCONF_PREFIX_SECOND}"
config HOST_PREFIX
string
prompt "Prefix for host tools development environment"
default "${PTXCONF_PREFIX}"
endmenu
|