1
mainmenu "Opie Configuration"
2
3
menu "Build Parameters"
4
5
choice
6
  prompt "Target Machine"
7
  default TARGET_X86
8
  help
9
    Please select the architecture of the machine you will be
10
    building the OpenZaurus buildroot for.
11
12
  config TARGET_X86
13
    boolean "Intel X86"
14
15
  config TARGET_MACOSX
16
    boolean "Mac OS X (DARWIN)"
17
18
  config TARGET_SHARP
19
    boolean "Sharp Zaurus w/ SA1100 (5000 and 5500)"
20
21
  config TARGET_C700
22
    boolean "Sharp Zaurus w/ PXA25x (5600, C7x0, C8x0)"
23
24
  config TARGET_OE
25
    boolean "OpenEmbedded w/ OE build dir set below"
26
27
  config TARGET_IPAQ
28
    boolean "iPAQ"
29
30
  config TARGET_RAMSES
31
    boolean "Ramses"
32
33
  config TARGET_SIMPAD
34
    boolean "SIMpad"
35
36
  config TARGET_YOPY
37
    boolean "Yopy 3500/3700"  
38
39
  config TARGET_HTC
40
    boolean "HTC"
41
42
  config TARGET_64BIT
43
    boolean "64 BIT"
44
45
endchoice
46
47
config OE_BUILD_DIR
48
  depends TARGET_OE
49
  string "OE build directory"
50
  default ">>>set OpenEmbedded build directory here<<<"
51
52
config OE_HOST_SYS
53
  depends TARGET_OE
54
  string "OE host system"
55
  default "i686-linux"
56
57
config OE_TARGET_SYS
58
  depends TARGET_OE
59
  string "OE target system"
60
  default "arm-linux"
61
      
62
config OPTIMIZE
63
  boolean "Use optimizations"
64
  default "y" if ! TARGET_X86
65
66
config THREADED
67
  boolean "Enable threaded build"
68
  default "n"
69
70
config STATIC
71
  boolean "Build static libraries"
72
  default "n"
73
74
config DEBUG
75
  boolean "Enable debug builds"
76
  default n
77
78
config RELEASE
79
  bool
80
  default y
81
  depends !DEBUG
82
  
83
config QUICK_LAUNCH
84
  boolean "Enable Quick Launch"
85
  default n if TARGET_X86
86
  default y if ! TARGET_X86
87
  
88
config QUICKLAUNCH_PATH
89
  string "Path to quicklauncher"
90
  default "./quicklauncher" if TARGET_X86
91
  default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86
92
93
config SPECFILE
94
  string
95
  default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
96
  default "linux-g++" if TARGET_X86 && X11
97
  default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
98
  default "linux-g++" if TARGET_SHARP && X11
99
  default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
100
  default "linux-g++" if TARGET_IPAQ && X11
101
  default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
102
  default "linux-g++" if TARGET_RAMSES && X11
103
  default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11)
104
  default "linux-g++" if TARGET_SIMPAD && X11
105
  default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11)
106
  default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11)
107
  default "qws/linux-oe-g++" if TARGET_OE && (!X11)
108
  default "qws/linux-htc-g++" if TARGET_HTC && (! X11)
109
  default "linux-g++" if TARGET_HTC  && X11
110
111
config CUSTOMFILE
112
  string
113
  default "custom-ipaq.h" if TARGET_IPAQ
114
  default "custom-sharp.h" if TARGET_SHARP
115
  default "custom-ramses.h" if TARGET_RAMSES
116
  default "custom-ipaq.h" if TARGET_SIMPAD
117
  default "custom-yopy.h" if TARGET_YOPY
118
119
config OPTIMIZATIONS
120
  string "Optimization flags"
121
  depends OPTIMIZE
122
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
123
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY
124
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
125
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES
126
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD
127
  default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700
128
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_HTC
129
130
config EXPERIMENTAL
131
  bool "Prompt for development and/or incomplete items"
132
  default y
133
134
config USE_CCACHE
135
  bool "Use ccache, if available?"
136
  default y
137
138
endmenu
139
140
menu "Configuration"
141
config OPIE_NO_BUILTIN_SHUTDOWN
142
  boolean "Disable the built in shutdown application"
143
  default y
144
145
config OPIE_NO_BUILTIN_CALIBRATE
146
  boolean "Disable the built in calibrate application"
147
  default y if TARGET_YOPY
148
  default n if ! TARGET_YOPY
149
150
config OPIE_SOUND_FRAGMENT_SHIFT
151
  string  "The sound fragment used in Opie Player I"
152
  default "14" if TARGET_IPAQ
153
  default "16" if ! TARGET_IPAQ
154
155
config USE_REALTIME_AUDIO_THREAD
156
  boolean "Use a realtime thread in Opie Player I"
157
  default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP
158
  default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)
159
160
config QT_QWS_ALLOW_OVERCLOCK
161
  boolean "Allow the user to overclock the device"
162
  depends TARGET_RAMSES
163
  default n
164
165
config USE_FILE_NOTIFICATION
166
  boolean "Substitute (some) polling interfaces with OFileNotifier"
167
  default y
168
169
config OPIE_NEW_ALLOC
170
  boolean "Use malloc and free for the implementation"
171
  default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP
172
  default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)
173
174
config OPIE_TASKBAR_LOCK_KEY_STATE
175
  boolean "Have a KeyLock state indicator on the taskbar"
176
  default y if TARGET_SHARP
177
  default n if !TARGET_SHARP
178
179
config LIBQPE_WITHROHFEEDBACK
180
  boolean "Build libqpe with Right-On-Hold feedback"
181
  default y
182
183
config LIBQPE_NO_INLINE_IMAGES
184
  boolean "Build libqpe without inline images"
185
  default n
186
187
config OPIE_NO_SOUND_PCM_READ_BITS
188
  boolean "There is not a pcm_read_bits io control"
189
  default y if TARGET_SHARP
190
  default n if ! TARGET_SHARP
191
endmenu
192
193
menu "Dependencies"
194
    source dependencies.in
195
endmenu
196
197
menu "Base"
198
  choice
199
    prompt "Qpe Library Selection"
200
    default LIBQPE
201
    source library/config.in
202
    source x11/config.in
203
  endchoice
204
  source libopie2/config.in
205
  source libqtaux/config.in
206
  source rsync/config.in
207
  source core/opie-login/config.in
208
  source core/opiealarm/config.in
209
  source core/tools/quicklauncher/config.in
210
  source core/tools/hotplug-qcop/config.in
211
  source core/launcher/config.in
212
  source core/symlinker/config.in
213
endmenu
214
215
comment ""
216
217
menu "Applets"
218
  source core/applets/config.in
219
  source noncore/applets/config.in
220
endmenu
221
222
menu "Apps"
223
  source core/apps/config.in
224
  source noncore/apps/config.in
225
endmenu
226
227
menu "Communications and Networking"
228
  source noncore/comm/config.in
229
  source noncore/net/config.in
230
endmenu
231
232
menu "Games"
233
  source noncore/games/config.in
234
endmenu
235
236
menu "Graphics and Multimedia"
237
  source freetype/config.in
238
  source noncore/graphics/config.in
239
  source core/multimedia/config.in
240
  source noncore/multimedia/config.in
241
endmenu
242
243
menu "Input methods"
244
  source inputmethods/config.in
245
endmenu
246
247
menu "Pim"
248
  source core/obex/config.in
249
  source core/pim/config.in
250
  comment "Today Plugins ---"
251
    source noncore/todayplugins/config.in
252
    source core/pim/today/plugins/config.in
253
  comment "Holiday Plugins ---"
254
    source core/pim/datebook/plugins/config.in
255
endmenu
256
257
menu "Settings"
258
  source core/settings/config.in
259
  source noncore/settings/config.in
260
  source noncore/securityplugins/config.in
261
endmenu
262
263
menu "Theming"
264
  comment "Decorations ---"
265
  source noncore/decorations/config.in
266
  comment "Styles ---"
267
  source noncore/styles/config.in
268
endmenu
269
270
menu "Tools"
271
  source noncore/tools/config.in
272
endmenu
273
274
menu "Development"
275
  source development/keyview/config.in
276
  #source development/debugviewer/config.in
277
endmenu
278
279
menu "Examples"
280
    config EXAMPLES
281
	boolean "Compile Example Application"
282
    source examples/config.in
283
endmenu
284
285
comment ""
286
287
menu "Unsupported / Unmaintained"
288
  source noncore/unsupported/config.in
289
endmenu