summaryrefslogtreecommitdiff
path: root/config.in
blob: 3b89bcc7d9615d516a4fcd74f7a41181e0e6ef6f (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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
mainmenu "Opie Configuration"

menu "Build Parameters"

choice
  prompt "Target Machine"
  default TARGET_X86
  help
    Please select the architecture of the machine you will be
    building the OpenZaurus buildroot for.

  config TARGET_X86
    boolean "Intel X86"

  config TARGET_MACOSX
    boolean "Mac OS X (DARWIN)"

  config TARGET_SHARP
    boolean "Sharp Zaurus w/ SA1100 (5000 and 5500)"

  config TARGET_C700
    boolean "Sharp Zaurus w/ PXA25x (5600, C7x0, C8x0)"

  config TARGET_OE
    boolean "OpenEmbedded w/ OE build dir set below"

  config TARGET_IPAQ
    boolean "iPAQ"

  config TARGET_RAMSES
    boolean "Ramses"

  config TARGET_SIMPAD
    boolean "SIMpad"

  config TARGET_YOPY
    boolean "Yopy 3500/3700"  

  config TARGET_HTC
    boolean "HTC"

  config TARGET_64BIT
    boolean "64 BIT"

endchoice

config OE_BUILD_DIR
  depends TARGET_OE
  string "OE build directory"
  default ">>>set OpenEmbedded build directory here<<<"

config OE_HOST_SYS
  depends TARGET_OE
  string "OE host system"
  default "i686-linux"

config OE_TARGET_SYS
  depends TARGET_OE
  string "OE target system"
  default "arm-linux"
      
config OPTIMIZE
  boolean "Use optimizations"
  default "y" if ! TARGET_X86

config THREADED
  boolean "Enable threaded build"
  default "n"

config STATIC
  boolean "Build static libraries"
  default "n"

config DEBUG
  boolean "Enable debug builds"
  default n

config RELEASE
  bool
  default y
  depends !DEBUG
  
config QUICK_LAUNCH
  boolean "Enable Quick Launch"
  default n if TARGET_X86
  default y if ! TARGET_X86
  
config QUICKLAUNCH_PATH
  string "Path to quicklauncher"
  default "./quicklauncher" if TARGET_X86
  default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86

config SPECFILE
  string
  default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
  default "linux-g++" if TARGET_X86 && X11
  default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
  default "linux-g++" if TARGET_SHARP && X11
  default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
  default "linux-g++" if TARGET_IPAQ && X11
  default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
  default "linux-g++" if TARGET_RAMSES && X11
  default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11)
  default "linux-g++" if TARGET_SIMPAD && X11
  default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11)
  default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11)
  default "qws/linux-oe-g++" if TARGET_OE && (!X11)
  default "qws/linux-htc-g++" if TARGET_HTC && (! X11)
  default "linux-g++" if TARGET_HTC  && X11

config CUSTOMFILE
  string
  default "custom-ipaq.h" if TARGET_IPAQ
  default "custom-sharp.h" if TARGET_SHARP
  default "custom-ramses.h" if TARGET_RAMSES
  default "custom-ipaq.h" if TARGET_SIMPAD
  default "custom-yopy.h" if TARGET_YOPY

config OPTIMIZATIONS
  string "Optimization flags"
  depends OPTIMIZE
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD
  default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_HTC

config EXPERIMENTAL
  bool "Prompt for development and/or incomplete items"
  default y

config USE_CCACHE
  bool "Use ccache, if available?"
  default y

endmenu

menu "Configuration"
config OPIE_NO_BUILTIN_SHUTDOWN
  boolean "Disable the built in shutdown application"
  default y

config OPIE_NO_BUILTIN_CALIBRATE
  boolean "Disable the built in calibrate application"
  default y if TARGET_YOPY
  default n if ! TARGET_YOPY

config OPIE_SOUND_FRAGMENT_SHIFT
  string  "The sound fragment used in Opie Player I"
  default "14" if TARGET_IPAQ
  default "16" if ! TARGET_IPAQ

config USE_REALTIME_AUDIO_THREAD
  boolean "Use a realtime thread in Opie Player I"
  default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP
  default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)

config QT_QWS_ALLOW_OVERCLOCK
  boolean "Allow the user to overclock the device"
  depends TARGET_RAMSES
  default n

config USE_FILE_NOTIFICATION
  boolean "Substitute (some) polling interfaces with OFileNotifier"
  default y

config OPIE_NEW_ALLOC
  boolean "Use malloc and free for the implementation"
  default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP
  default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP)

config OPIE_TASKBAR_LOCK_KEY_STATE
  boolean "Have a KeyLock state indicator on the taskbar"
  default y if TARGET_SHARP
  default n if !TARGET_SHARP

config LIBQPE_WITHROHFEEDBACK
  boolean "Build libqpe with Right-On-Hold feedback"
  default y

config LIBQPE_NO_INLINE_IMAGES
  boolean "Build libqpe without inline images"
  default n

config OPIE_NO_SOUND_PCM_READ_BITS
  boolean "There is not a pcm_read_bits io control"
  default y if TARGET_SHARP
  default n if ! TARGET_SHARP
endmenu

menu "Dependencies"
    source dependencies.in
endmenu

menu "Base"
  choice
    prompt "Qpe Library Selection"
    default LIBQPE
    source library/config.in
    source x11/config.in
  endchoice
  source libopie2/config.in
  source libqtaux/config.in
  source rsync/config.in
  source core/opie-login/config.in
  source core/opiealarm/config.in
  source core/tools/quicklauncher/config.in
  source core/tools/hotplug-qcop/config.in
  source core/launcher/config.in
  source core/symlinker/config.in
endmenu

comment ""

menu "Applets"
  source core/applets/config.in
  source noncore/applets/config.in
endmenu

menu "Apps"
  source core/apps/config.in
  source noncore/apps/config.in
endmenu

menu "Communications and Networking"
  source noncore/comm/config.in
  source noncore/net/config.in
endmenu

menu "Games"
  source noncore/games/config.in
endmenu

menu "Graphics and Multimedia"
  source freetype/config.in
  source noncore/graphics/config.in
  source core/multimedia/config.in
  source noncore/multimedia/config.in
endmenu

menu "Input methods"
  source inputmethods/config.in
endmenu

menu "Pim"
  source core/obex/config.in
  source core/pim/config.in
  comment "Today Plugins ---"
    source noncore/todayplugins/config.in
    source core/pim/today/plugins/config.in
  comment "Holiday Plugins ---"
    source core/pim/datebook/holiday/config.in
endmenu

menu "Settings"
  source core/settings/config.in
  source noncore/settings/config.in
  source noncore/securityplugins/config.in
endmenu

menu "Theming"
  comment "Decorations ---"
  source noncore/decorations/config.in
  comment "Styles ---"
  source noncore/styles/config.in
endmenu

menu "Tools"
  source noncore/tools/config.in
endmenu

menu "Development"
  source development/keyview/config.in
  #source development/debugviewer/config.in
endmenu

menu "Examples"
    config EXAMPLES
	boolean "Compile Example Application"
    source examples/config.in
endmenu

comment ""

menu "Unsupported / Unmaintained"
  source noncore/unsupported/config.in
endmenu

comment ""
  depends on EXPERIMENTAL
menu "Experimental"
  depends on EXPERIMENTAL
  source core/qws/config.in
endmenu