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