blob: a9fdc4792899437c7605955b4213b85ce7f95fad (
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
## SECTION=project_name
#
# rules/project-name.in
#
# Copyright (C) 2002-2006, 2009 by Robert Schwebel <r.schwebel@pengutronix.de>
#
comment "------------------------------------"
menu "Project Name & Version "
comment "Project Name & Version "
config PROJECT_VENDOR
string
prompt "Vendor Name"
help
Type in here your favorite vendor name. It gets displayed
whenever your system starts.
config PROJECT
string
prompt "Project Name"
help
Name of this project; each PTXdist "Project" specifies a
unique configuration for an Embedded Linux project.
config PROJECT_VERSION
string
prompt "Project Version"
default "-${PTXDIST_BSP_AUTOVERSION}"
help
The version of your project.
The string is supposed to start with a "-".
comment "------------------------------------"
config PROJECT_USE_BASE_PLATFORM
bool
choice
prompt "Build Type"
default PROJECT_BUILD_DEVEL
config PROJECT_BUILD_DEVEL
bool
prompt "development"
help
Perform a development build, which installs everything into
"${PTXDIST_WORKSPACE}/platform-<PLATFORM>".
This is the default. If unsure select this.
config PROJECT_BUILD_PRODUCTION
bool
prompt "production"
help
Perform a production build, which installs everything into
central, system wide location.
endchoice
choice
prompt "location"
depends on PROJECT_BUILD_PRODUCTION
default PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE
config PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE
bool
prompt "default"
help
Build pre-built production release to the default
location. It will be composed of:
- project vendor,
- project name and
- project version.
The path will look like this:
"/opt/OSELAS.BSP/Pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference-trunk"
This is the default. If unsure select this.
config PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE
bool
prompt "custom"
help
Build production relase and place it in an individual
location.
endchoice
config PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM
string
prompt "custom location"
depends on PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE
help
Specify the location where to place your production release.
config PROJECT_BUILD_PRODUCTION_PREFIX
string
default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}" \
if PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE
default "${PTXCONF_PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM}" \
if PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE
comment "------------------------------------"
config PROJECT_USE_PRODUCTION
bool
prompt "use pre-built production release"
depends on PROJECT_BUILD_DEVEL
select PROJECT_USE_BASE_PLATFORM
help
Use a pre-built production release.
choice
prompt "location"
depends on PROJECT_USE_PRODUCTION
default PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE
config PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE
bool
prompt "default"
help
Use pre-built production release from default location.
This is the default. If unsure select this.
config PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE
bool
prompt "custom"
help
Use pre-built production release from an individual location.
endchoice
config PROJECT_USE_PRODUCTION_PREFIX_CUSTOM
string
prompt "custom location"
depends on PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE
config PROJECT_USE_PRODUCTION_PREFIX
string
default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}" if PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE
default "${PTXCONF_PROJECT_USE_PRODUCTION_PREFIX_CUSTOM}" if PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE
config PROJECT_USE_LOCAL_PLATFORM
bool
prompt "built on top of another platform"
depends on PROJECT_BUILD_DEVEL && !PROJECT_USE_PRODUCTION
select PROJECT_USE_BASE_PLATFORM
help
Use an existing platform as origin. This platform must be
specified in the "platform name" entry.
config PROJECT_USE_LOCAL_PLATFORM_NAME
string
prompt "platform name"
depends on PROJECT_USE_LOCAL_PLATFORM
help
The name of the platform to use. This is the directory name of
the platform in the ptxdist workspace e.g. ``platform-i586''.
comment "------------------------------------"
comment "pre-built package handling"
comment "------------------------------------"
config PROJECT_CREATE_DEVPKGS
bool
prompt "create pre-built archives"
help
Enable the creation of pre-built package archives. Read the
"How to become a PTXdist Guru" documentation for further details.
config PROJECT_USE_DEVPKGS
bool
select HOST_CHRPATH
prompt "use pre-built archives"
help
Use pre-built package archives to build or re-build the project if
corresponding package archives with the same configuration are found.
config PROJECT_DEVPKGDIR
string
prompt "pre-built archive directory"
depends on PROJECT_USE_DEVPKGS
default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}"
help
This entry defines the path to a directory where pre-built archives
are expected.
config PROJECT_DEVMIRROR
string
prompt "Mirror for pre-built archives"
depends on PROJECT_USE_DEVPKGS
help
Enter a URL where *-dev.tar.gz packages can be downloaded
Use: ptxdist getdev
comment "------------------------------------"
comment "license information handling"
comment "------------------------------------"
config PROJECT_CHECK_LICENSES
bool
prompt "check licenses during normal build"
help
If this is enabled <pkg>.report is build during the normal build
process. As a result all specified md5 sums for license files are
verified.
endmenu
|