-rw-r--r-- | config.in | 4 | ||||
-rw-r--r-- | dependencies.in | 59 |
2 files changed, 63 insertions, 0 deletions
@@ -1,252 +1,256 @@ | |||
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" | 19 | boolean "Sharp Zaurus" |
20 | 20 | ||
21 | config TARGET_IPAQ | 21 | config TARGET_IPAQ |
22 | boolean "iPAQ" | 22 | boolean "iPAQ" |
23 | 23 | ||
24 | config TARGET_RAMSES | 24 | config TARGET_RAMSES |
25 | boolean "Ramses" | 25 | boolean "Ramses" |
26 | 26 | ||
27 | config TARGET_SIMPAD | 27 | config TARGET_SIMPAD |
28 | boolean "SIMpad" | 28 | boolean "SIMpad" |
29 | 29 | ||
30 | config TARGET_YOPY | 30 | config TARGET_YOPY |
31 | boolean "Yopy 3500/3700" | 31 | boolean "Yopy 3500/3700" |
32 | 32 | ||
33 | endchoice | 33 | endchoice |
34 | 34 | ||
35 | config OPTIMIZE | 35 | config OPTIMIZE |
36 | boolean "Use optimizations" | 36 | boolean "Use optimizations" |
37 | default "y" if ! TARGET_X86 | 37 | default "y" if ! TARGET_X86 |
38 | 38 | ||
39 | # added for threaded compile | 39 | # added for threaded compile |
40 | config THREADED | 40 | config THREADED |
41 | boolean "Enable threaded build" | 41 | boolean "Enable threaded build" |
42 | default "n" | 42 | default "n" |
43 | 43 | ||
44 | config DEBUG | 44 | config DEBUG |
45 | boolean "Enable debug builds" | 45 | boolean "Enable debug builds" |
46 | default n | 46 | default n |
47 | config RELEASE | 47 | config RELEASE |
48 | bool | 48 | bool |
49 | default y | 49 | default y |
50 | depends !DEBUG | 50 | depends !DEBUG |
51 | 51 | ||
52 | config QUICK_LAUNCH | 52 | config QUICK_LAUNCH |
53 | boolean "Enable Quick Launch" | 53 | boolean "Enable Quick Launch" |
54 | default n | 54 | default n |
55 | 55 | ||
56 | config QUICKLAUNCH_PATH | 56 | config QUICKLAUNCH_PATH |
57 | string "Path to quicklauncher" | 57 | string "Path to quicklauncher" |
58 | default "./quicklauncher" if TARGET_X86 | 58 | default "./quicklauncher" if TARGET_X86 |
59 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 | 59 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
60 | 60 | ||
61 | config SPECFILE | 61 | config SPECFILE |
62 | string | 62 | string |
63 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) | 63 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
64 | default "linux-g++" if TARGET_X86 && X11 | 64 | default "linux-g++" if TARGET_X86 && X11 |
65 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) | 65 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
66 | default "linux-g++" if TARGET_SHARP && X11 | 66 | default "linux-g++" if TARGET_SHARP && X11 |
67 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) | 67 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
68 | default "linux-g++" if TARGET_IPAQ && X11 | 68 | default "linux-g++" if TARGET_IPAQ && X11 |
69 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) | 69 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
70 | default "linux-g++" if TARGET_RAMSES && X11 | 70 | default "linux-g++" if TARGET_RAMSES && X11 |
71 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) | 71 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
72 | default "linux-g++" if TARGET_SIMPAD && X11 | 72 | default "linux-g++" if TARGET_SIMPAD && X11 |
73 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) | 73 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
74 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) | 74 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
75 | 75 | ||
76 | config CUSTOMFILE | 76 | config CUSTOMFILE |
77 | string | 77 | string |
78 | default "custom-ipaq.h" if TARGET_IPAQ | 78 | default "custom-ipaq.h" if TARGET_IPAQ |
79 | default "custom-sharp.h" if TARGET_SHARP | 79 | default "custom-sharp.h" if TARGET_SHARP |
80 | default "custom-ramses.h" if TARGET_RAMSES | 80 | default "custom-ramses.h" if TARGET_RAMSES |
81 | default "custom-ipaq.h" if TARGET_SIMPAD | 81 | default "custom-ipaq.h" if TARGET_SIMPAD |
82 | default "custom-yopy.h" if TARGET_YOPY | 82 | default "custom-yopy.h" if TARGET_YOPY |
83 | 83 | ||
84 | config OPTIMIZATIONS | 84 | config OPTIMIZATIONS |
85 | string "Optimization flags" | 85 | string "Optimization flags" |
86 | depends OPTIMIZE | 86 | depends OPTIMIZE |
87 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ | 87 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
88 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY | 88 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
89 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP | 89 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
90 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES | 90 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
91 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD | 91 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
92 | 92 | ||
93 | config EXPERIMENTAL | 93 | config EXPERIMENTAL |
94 | bool "Prompt for development and/or incomplete items" | 94 | bool "Prompt for development and/or incomplete items" |
95 | default y | 95 | default y |
96 | 96 | ||
97 | endmenu | 97 | endmenu |
98 | 98 | ||
99 | menu "Configuration" | 99 | menu "Configuration" |
100 | config OPIE_NO_OVERRIDE_QT | 100 | config OPIE_NO_OVERRIDE_QT |
101 | boolean "Build Opie against an unpatched version of Qt" | 101 | boolean "Build Opie against an unpatched version of Qt" |
102 | default n | 102 | default n |
103 | 103 | ||
104 | config OPIE_NO_BUILTIN_SHUTDOWN | 104 | config OPIE_NO_BUILTIN_SHUTDOWN |
105 | boolean "Disable the built in shutdown application" | 105 | boolean "Disable the built in shutdown application" |
106 | default n | 106 | default n |
107 | 107 | ||
108 | config OPIE_NO_BUILTIN_CALIBRATE | 108 | config OPIE_NO_BUILTIN_CALIBRATE |
109 | boolean "Disable the built in calibrate application" | 109 | boolean "Disable the built in calibrate application" |
110 | default y if TARGET_YOPY | 110 | default y if TARGET_YOPY |
111 | default n | 111 | default n |
112 | 112 | ||
113 | config OPIE_SOUND_FRAGMENT_SHIFT | 113 | config OPIE_SOUND_FRAGMENT_SHIFT |
114 | string "The sound fragment used in Opie Player I" | 114 | string "The sound fragment used in Opie Player I" |
115 | default "14" if TARGET_IPAQ | 115 | default "14" if TARGET_IPAQ |
116 | default "16" if (!TARGET_IPAQ) | 116 | default "16" if (!TARGET_IPAQ) |
117 | 117 | ||
118 | config USE_REALTIME_AUDIO_THREAD | 118 | config USE_REALTIME_AUDIO_THREAD |
119 | boolean "Use a realtime thread in Opie Player I" | 119 | boolean "Use a realtime thread in Opie Player I" |
120 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP | 120 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
121 | default n | 121 | default n |
122 | 122 | ||
123 | config QT_QWS_ALLOW_OVERCLOCK | 123 | config QT_QWS_ALLOW_OVERCLOCK |
124 | boolean "Allow the user to overclock the device" | 124 | boolean "Allow the user to overclock the device" |
125 | depends TARGET_RAMSES | 125 | depends TARGET_RAMSES |
126 | default n | 126 | default n |
127 | 127 | ||
128 | config OPIE_HIGH_RES_SMALL_PHY | 128 | config OPIE_HIGH_RES_SMALL_PHY |
129 | boolean "Resolution is bigger than physical screen" | 129 | boolean "Resolution is bigger than physical screen" |
130 | default y if TARGET_C700 | 130 | default y if TARGET_C700 |
131 | default n | 131 | default n |
132 | 132 | ||
133 | config OPIE_NEW_ALLOC | 133 | config OPIE_NEW_ALLOC |
134 | boolean "Use malloc and free for the implementation" | 134 | boolean "Use malloc and free for the implementation" |
135 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP | 135 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
136 | default n | 136 | default n |
137 | 137 | ||
138 | config OPIE_NO_SOUND_PCM_READ_BITS | 138 | config OPIE_NO_SOUND_PCM_READ_BITS |
139 | boolean "There is not a pcm_read_bits io control" | 139 | boolean "There is not a pcm_read_bits io control" |
140 | default y if TARGET_SHARP | 140 | default y if TARGET_SHARP |
141 | default n | 141 | default n |
142 | 142 | ||
143 | config OPIE_WE_VERSION_OVERRIDE | 143 | config OPIE_WE_VERSION_OVERRIDE |
144 | boolean "Override autodetection of wireless extension (WE) version" | 144 | boolean "Override autodetection of wireless extension (WE) version" |
145 | default n | 145 | default n |
146 | 146 | ||
147 | config OPIE_WE_VERSION | 147 | config OPIE_WE_VERSION |
148 | depends OPIE_WE_VERSION_OVERRIDE | 148 | depends OPIE_WE_VERSION_OVERRIDE |
149 | string "The wireless extension (WE) version to build against" | 149 | string "The wireless extension (WE) version to build against" |
150 | default "15" if ! TARGET_X86 | 150 | default "15" if ! TARGET_X86 |
151 | default "16" if TARGET_X86 | 151 | default "16" if TARGET_X86 |
152 | 152 | ||
153 | endmenu | 153 | endmenu |
154 | 154 | ||
155 | menu "Dependencies" | ||
156 | source dependencies.in | ||
157 | endmenu | ||
158 | |||
155 | menu "Base" | 159 | menu "Base" |
156 | choice | 160 | choice |
157 | prompt "Qpe Library Selection" | 161 | prompt "Qpe Library Selection" |
158 | default LIBQPE | 162 | default LIBQPE |
159 | source library/config.in | 163 | source library/config.in |
160 | source x11/config.in | 164 | source x11/config.in |
161 | endchoice | 165 | endchoice |
162 | source libopie/config.in | 166 | source libopie/config.in |
163 | 167 | ||
164 | source libopie2/config.in | 168 | source libopie2/config.in |
165 | source libqtaux/config.in | 169 | source libqtaux/config.in |
166 | 170 | ||
167 | source core/opie-login/config.in | 171 | source core/opie-login/config.in |
168 | source core/opiealarm/config.in | 172 | source core/opiealarm/config.in |
169 | source core/tools/quicklauncher/config.in | 173 | source core/tools/quicklauncher/config.in |
170 | source core/launcher/config.in | 174 | source core/launcher/config.in |
171 | source core/symlinker/config.in | 175 | source core/symlinker/config.in |
172 | endmenu | 176 | endmenu |
173 | 177 | ||
174 | comment "" | 178 | comment "" |
175 | 179 | ||
176 | menu "Applets" | 180 | menu "Applets" |
177 | source core/applets/config.in | 181 | source core/applets/config.in |
178 | source noncore/applets/config.in | 182 | source noncore/applets/config.in |
179 | endmenu | 183 | endmenu |
180 | 184 | ||
181 | menu "Apps" | 185 | menu "Apps" |
182 | source core/apps/config.in | 186 | source core/apps/config.in |
183 | source noncore/apps/config.in | 187 | source noncore/apps/config.in |
184 | endmenu | 188 | endmenu |
185 | 189 | ||
186 | menu "Communications and Networking" | 190 | menu "Communications and Networking" |
187 | source noncore/comm/config.in | 191 | source noncore/comm/config.in |
188 | source noncore/net/config.in | 192 | source noncore/net/config.in |
189 | endmenu | 193 | endmenu |
190 | 194 | ||
191 | menu "Games" | 195 | menu "Games" |
192 | source noncore/games/config.in | 196 | source noncore/games/config.in |
193 | endmenu | 197 | endmenu |
194 | 198 | ||
195 | menu "Graphics and Multimedia" | 199 | menu "Graphics and Multimedia" |
196 | source freetype/config.in | 200 | source freetype/config.in |
197 | source noncore/graphics/config.in | 201 | source noncore/graphics/config.in |
198 | source core/multimedia/config.in | 202 | source core/multimedia/config.in |
199 | source noncore/multimedia/config.in | 203 | source noncore/multimedia/config.in |
200 | endmenu | 204 | endmenu |
201 | 205 | ||
202 | menu "Input methods" | 206 | menu "Input methods" |
203 | source inputmethods/config.in | 207 | source inputmethods/config.in |
204 | endmenu | 208 | endmenu |
205 | 209 | ||
206 | menu "Pim" | 210 | menu "Pim" |
207 | source core/pim/config.in | 211 | source core/pim/config.in |
208 | comment "Today Plugins ---" | 212 | comment "Today Plugins ---" |
209 | source noncore/todayplugins/config.in | 213 | source noncore/todayplugins/config.in |
210 | source core/pim/today/plugins/config.in | 214 | source core/pim/today/plugins/config.in |
211 | endmenu | 215 | endmenu |
212 | 216 | ||
213 | menu "Settings" | 217 | menu "Settings" |
214 | source core/settings/config.in | 218 | source core/settings/config.in |
215 | source noncore/settings/config.in | 219 | source noncore/settings/config.in |
216 | endmenu | 220 | endmenu |
217 | 221 | ||
218 | menu "Theming" | 222 | menu "Theming" |
219 | comment "Decorations ---" | 223 | comment "Decorations ---" |
220 | source noncore/decorations/config.in | 224 | source noncore/decorations/config.in |
221 | comment "Styles ---" | 225 | comment "Styles ---" |
222 | source noncore/styles/config.in | 226 | source noncore/styles/config.in |
223 | endmenu | 227 | endmenu |
224 | 228 | ||
225 | menu "Tools" | 229 | menu "Tools" |
226 | source noncore/tools/config.in | 230 | source noncore/tools/config.in |
227 | endmenu | 231 | endmenu |
228 | 232 | ||
229 | menu "Development" | 233 | menu "Development" |
230 | source development/keyview/config.in | 234 | source development/keyview/config.in |
231 | #source development/debugviewer/config.in | 235 | #source development/debugviewer/config.in |
232 | endmenu | 236 | endmenu |
233 | 237 | ||
234 | menu "Examples" | 238 | menu "Examples" |
235 | config EXAMPLES | 239 | config EXAMPLES |
236 | boolean "Compile Example Application" | 240 | boolean "Compile Example Application" |
237 | source examples/config.in | 241 | source examples/config.in |
238 | endmenu | 242 | endmenu |
239 | 243 | ||
240 | comment "" | 244 | comment "" |
241 | 245 | ||
242 | menu "Unsupported / Unmaintained" | 246 | menu "Unsupported / Unmaintained" |
243 | source noncore/unsupported/config.in | 247 | source noncore/unsupported/config.in |
244 | endmenu | 248 | endmenu |
245 | 249 | ||
246 | comment "" | 250 | comment "" |
247 | depends on EXPERIMENTAL | 251 | depends on EXPERIMENTAL |
248 | menu "Experimental" | 252 | menu "Experimental" |
249 | depends on EXPERIMENTAL | 253 | depends on EXPERIMENTAL |
250 | source libslcompat/config.in | 254 | source libslcompat/config.in |
251 | source core/qws/config.in | 255 | source core/qws/config.in |
252 | endmenu | 256 | endmenu |
diff --git a/dependencies.in b/dependencies.in new file mode 100644 index 0000000..2db6141 --- a/dev/null +++ b/dependencies.in | |||
@@ -0,0 +1,59 @@ | |||
1 | config LIBETPAN_DEP | ||
2 | boolean "Have Libetpan >= 0.33pre" | ||
3 | default "n" | ||
4 | |||
5 | config LIBETPAN_LIB_DIR | ||
6 | string "LIBETPAN library dir" | ||
7 | depends LIBETPAN_DEP | ||
8 | |||
9 | config LIBETPAN_INC_DIR | ||
10 | string "LIBETPAN include dir" | ||
11 | depends LIBETPAN_DEP | ||
12 | |||
13 | config LIBPCAP_DEP | ||
14 | boolean "Have libpcap >= 0.7.2" | ||
15 | default "n" | ||
16 | |||
17 | config LIBPCAP_LIB_DIR | ||
18 | string "LIBPCAP library dir" | ||
19 | depends LIBPCAP_DEP | ||
20 | |||
21 | config LIBPCAP_INC_DIR | ||
22 | string "LIBPCAP include dir" | ||
23 | depends LIBPCAP_DEP | ||
24 | |||
25 | config LIBSQLITE_DEP | ||
26 | boolean "Have sqlite >= 2.8.6" | ||
27 | default n | ||
28 | |||
29 | config LIBSQLITE_LIB_DIR | ||
30 | string "LIBSQLITE library dir" | ||
31 | depends LIBSQLITE_DEP | ||
32 | |||
33 | config LIBSQLITE_INC_DIR | ||
34 | string "LIBSQLITE include dir" | ||
35 | depends LIBSQLITE_DEP | ||
36 | |||
37 | config LIBXINE_DEP | ||
38 | boolean "have libxine 1.0 beta11" | ||
39 | default "n" | ||
40 | |||
41 | config LIBXINE_LIB_DIR | ||
42 | string "LIBXINE library dir" | ||
43 | depends "LIBXINE_DEP | ||
44 | |||
45 | config LIBXINE_INC_DIR | ||
46 | string "LIBXINE include dir" | ||
47 | depends LIBXINE_DEP | ||
48 | |||
49 | config LIBIPK_DEP | ||
50 | boolean "have libipkg v109 or greater" | ||
51 | default "n" | ||
52 | |||
53 | config LIBIPK_LIB_DIR | ||
54 | string "libipkg library dir" | ||
55 | depends LIBIPK_DEP | ||
56 | |||
57 | config LIBIPK_INC_DIR | ||
58 | string "libipkg include dir" | ||
59 | depends LIBIPK_DEP | ||