|
diff --git a/config.in b/config.in index 31d4684..2e9c90e 100644 --- a/ config.in+++ b/ config.in |
|
@@ -1,205 +1,214 @@ |
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 w/ SA1100 (5000 and 5500)" |
| |
20 | |
| |
21 | config TARGET_C700 |
| |
22 | boolean "Sharp Zaurus w/ PXA25x (5600, C7x0, C8x0)" |
20 | |
23 | |
21 | config TARGET_IPAQ |
24 | config TARGET_IPAQ |
22 | boolean "iPAQ" |
25 | boolean "iPAQ" |
23 | |
26 | |
24 | config TARGET_RAMSES |
27 | config TARGET_RAMSES |
25 | boolean "Ramses" |
28 | boolean "Ramses" |
26 | |
29 | |
27 | config TARGET_SIMPAD |
30 | config TARGET_SIMPAD |
28 | boolean "SIMpad" |
31 | boolean "SIMpad" |
29 | |
32 | |
30 | config TARGET_YOPY |
33 | config TARGET_YOPY |
31 | boolean "Yopy 3500/3700" |
34 | boolean "Yopy 3500/3700" |
32 | |
35 | |
33 | endchoice |
36 | endchoice |
34 | |
37 | |
35 | config OPTIMIZE |
38 | config OPTIMIZE |
36 | boolean "Use optimizations" |
39 | boolean "Use optimizations" |
37 | default "y" if ! TARGET_X86 |
40 | default "y" if ! TARGET_X86 |
38 | |
41 | |
39 | # added for threaded compile |
42 | # added for threaded compile |
40 | config THREADED |
43 | config THREADED |
41 | boolean "Enable threaded build" |
44 | boolean "Enable threaded build" |
42 | default "n" |
45 | default "n" |
43 | |
46 | |
44 | config DEBUG |
47 | config DEBUG |
45 | boolean "Enable debug builds" |
48 | boolean "Enable debug builds" |
46 | default n |
49 | default n |
47 | config RELEASE |
50 | config RELEASE |
48 | bool |
51 | bool |
49 | default y |
52 | default y |
50 | depends !DEBUG |
53 | depends !DEBUG |
51 | |
54 | |
52 | config QUICK_LAUNCH |
55 | config QUICK_LAUNCH |
53 | boolean "Enable Quick Launch" |
56 | boolean "Enable Quick Launch" |
54 | default n |
57 | default n if TARGET_X86 |
| |
58 | default y if ! TARGET_X86 |
55 | |
59 | |
56 | config QUICKLAUNCH_PATH |
60 | config QUICKLAUNCH_PATH |
57 | string "Path to quicklauncher" |
61 | string "Path to quicklauncher" |
58 | default "./quicklauncher" if TARGET_X86 |
62 | default "./quicklauncher" if TARGET_X86 |
59 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
63 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
60 | |
64 | |
61 | config SPECFILE |
65 | config SPECFILE |
62 | string |
66 | string |
63 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
67 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
64 | default "linux-g++" if TARGET_X86 && X11 |
68 | default "linux-g++" if TARGET_X86 && X11 |
65 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
69 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
66 | default "linux-g++" if TARGET_SHARP && X11 |
70 | default "linux-g++" if TARGET_SHARP && X11 |
67 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
71 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
68 | default "linux-g++" if TARGET_IPAQ && X11 |
72 | default "linux-g++" if TARGET_IPAQ && X11 |
69 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
73 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
70 | default "linux-g++" if TARGET_RAMSES && X11 |
74 | default "linux-g++" if TARGET_RAMSES && X11 |
71 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
75 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
72 | default "linux-g++" if TARGET_SIMPAD && X11 |
76 | default "linux-g++" if TARGET_SIMPAD && X11 |
73 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
77 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
74 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
78 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
75 | |
79 | |
76 | config CUSTOMFILE |
80 | config CUSTOMFILE |
77 | string |
81 | string |
78 | default "custom-ipaq.h" if TARGET_IPAQ |
82 | default "custom-ipaq.h" if TARGET_IPAQ |
79 | default "custom-sharp.h" if TARGET_SHARP |
83 | default "custom-sharp.h" if TARGET_SHARP |
80 | default "custom-ramses.h" if TARGET_RAMSES |
84 | default "custom-ramses.h" if TARGET_RAMSES |
81 | default "custom-ipaq.h" if TARGET_SIMPAD |
85 | default "custom-ipaq.h" if TARGET_SIMPAD |
82 | default "custom-yopy.h" if TARGET_YOPY |
86 | default "custom-yopy.h" if TARGET_YOPY |
83 | |
87 | |
84 | config OPTIMIZATIONS |
88 | config OPTIMIZATIONS |
85 | string "Optimization flags" |
89 | string "Optimization flags" |
86 | depends OPTIMIZE |
90 | depends OPTIMIZE |
87 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
91 | 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 |
92 | 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 |
93 | 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 |
94 | 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 |
95 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
| |
96 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 |
92 | |
97 | |
93 | config EXPERIMENTAL |
98 | config EXPERIMENTAL |
94 | bool "Prompt for development and/or incomplete items" |
99 | bool "Prompt for development and/or incomplete items" |
95 | default y |
100 | default y |
96 | |
101 | |
97 | endmenu |
102 | endmenu |
98 | |
103 | |
99 | menu "Configuration" |
104 | menu "Configuration" |
100 | config OPIE_NO_OVERRIDE_QT |
105 | config OPIE_NO_OVERRIDE_QT |
101 | boolean "Build Opie against an unpatched version of Qt" |
106 | boolean "Build Opie against an unpatched version of Qt" |
102 | default n |
107 | default n |
103 | |
108 | |
104 | config OPIE_NO_BUILTIN_SHUTDOWN |
109 | config OPIE_NO_BUILTIN_SHUTDOWN |
105 | boolean "Disable the built in shutdown application" |
110 | boolean "Disable the built in shutdown application" |
106 | default n |
111 | default y |
107 | |
112 | |
108 | config OPIE_NO_BUILTIN_CALIBRATE |
113 | config OPIE_NO_BUILTIN_CALIBRATE |
109 | boolean "Disable the built in calibrate application" |
114 | boolean "Disable the built in calibrate application" |
110 | default y if TARGET_YOPY |
115 | default y if TARGET_YOPY |
111 | default n |
116 | default n if ! TARGET_YOPY |
112 | |
117 | |
113 | config OPIE_SOUND_FRAGMENT_SHIFT |
118 | config OPIE_SOUND_FRAGMENT_SHIFT |
114 | string "The sound fragment used in Opie Player I" |
119 | string "The sound fragment used in Opie Player I" |
115 | default "14" if TARGET_IPAQ |
120 | default "14" if TARGET_IPAQ |
116 | default "16" if (!TARGET_IPAQ) |
121 | default "16" if ! TARGET_IPAQ |
117 | |
122 | |
118 | config USE_REALTIME_AUDIO_THREAD |
123 | config USE_REALTIME_AUDIO_THREAD |
119 | boolean "Use a realtime thread in Opie Player I" |
124 | boolean "Use a realtime thread in Opie Player I" |
120 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
125 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
121 | default n |
126 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
122 | |
127 | |
123 | config QT_QWS_ALLOW_OVERCLOCK |
128 | config QT_QWS_ALLOW_OVERCLOCK |
124 | boolean "Allow the user to overclock the device" |
129 | boolean "Allow the user to overclock the device" |
125 | depends TARGET_RAMSES |
130 | depends TARGET_RAMSES |
126 | default n |
131 | default n |
127 | |
132 | |
128 | config OPIE_HIGH_RES_SMALL_PHY |
133 | config OPIE_HIGH_RES_SMALL_PHY |
129 | boolean "Resolution is bigger than physical screen" |
134 | boolean "Resolution is bigger than physical screen" |
130 | default y if TARGET_C700 |
135 | default y if TARGET_C700 |
131 | default n |
136 | default n if ! TARGET_C700 |
| |
137 | |
| |
138 | config USE_FILE_NOTIFICATION |
| |
139 | boolean "Substitute (some) polling interfaces with OFileNotifier" |
| |
140 | default y |
132 | |
141 | |
133 | config OPIE_NEW_ALLOC |
142 | config OPIE_NEW_ALLOC |
134 | boolean "Use malloc and free for the implementation" |
143 | boolean "Use malloc and free for the implementation" |
135 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
144 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
136 | default n |
145 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
137 | |
146 | |
138 | config OPIE_NO_SOUND_PCM_READ_BITS |
147 | config OPIE_NO_SOUND_PCM_READ_BITS |
139 | boolean "There is not a pcm_read_bits io control" |
148 | boolean "There is not a pcm_read_bits io control" |
140 | default y if TARGET_SHARP |
149 | default y if TARGET_SHARP |
141 | default n |
150 | default n if ! TARGET_SHARP |
142 | |
151 | |
143 | config OPIE_WE_VERSION_OVERRIDE |
152 | config OPIE_WE_VERSION_OVERRIDE |
144 | boolean "Override autodetection of wireless extension (WE) version" |
153 | boolean "Override autodetection of wireless extension (WE) version" |
145 | default n |
154 | default n |
146 | |
155 | |
147 | config OPIE_WE_VERSION |
156 | config OPIE_WE_VERSION |
148 | depends OPIE_WE_VERSION_OVERRIDE |
157 | depends OPIE_WE_VERSION_OVERRIDE |
149 | string "The wireless extension (WE) version to build against" |
158 | string "The wireless extension (WE) version to build against" |
150 | default "15" if ! TARGET_X86 |
159 | default "15" if ! TARGET_X86 |
151 | default "16" if TARGET_X86 |
160 | default "16" if TARGET_X86 |
152 | |
161 | |
153 | endmenu |
162 | endmenu |
154 | |
163 | |
155 | menu "Dependencies" |
164 | menu "Dependencies" |
156 | source dependencies.in |
165 | source dependencies.in |
157 | endmenu |
166 | endmenu |
158 | |
167 | |
159 | menu "Base" |
168 | menu "Base" |
160 | choice |
169 | choice |
161 | prompt "Qpe Library Selection" |
170 | prompt "Qpe Library Selection" |
162 | default LIBQPE |
171 | default LIBQPE |
163 | source library/config.in |
172 | source library/config.in |
164 | source x11/config.in |
173 | source x11/config.in |
165 | endchoice |
174 | endchoice |
166 | source libopie/config.in |
175 | source libopie/config.in |
167 | |
176 | |
168 | source libopie2/config.in |
177 | source libopie2/config.in |
169 | source libqtaux/config.in |
178 | source libqtaux/config.in |
170 | |
179 | |
171 | source core/opie-login/config.in |
180 | source core/opie-login/config.in |
172 | source core/opiealarm/config.in |
181 | source core/opiealarm/config.in |
173 | source core/tools/quicklauncher/config.in |
182 | source core/tools/quicklauncher/config.in |
174 | source core/launcher/config.in |
183 | source core/launcher/config.in |
175 | source core/symlinker/config.in |
184 | source core/symlinker/config.in |
176 | endmenu |
185 | endmenu |
177 | |
186 | |
178 | comment "" |
187 | comment "" |
179 | |
188 | |
180 | menu "Applets" |
189 | menu "Applets" |
181 | source core/applets/config.in |
190 | source core/applets/config.in |
182 | source noncore/applets/config.in |
191 | source noncore/applets/config.in |
183 | endmenu |
192 | endmenu |
184 | |
193 | |
185 | menu "Apps" |
194 | menu "Apps" |
186 | source core/apps/config.in |
195 | source core/apps/config.in |
187 | source noncore/apps/config.in |
196 | source noncore/apps/config.in |
188 | endmenu |
197 | endmenu |
189 | |
198 | |
190 | menu "Communications and Networking" |
199 | menu "Communications and Networking" |
191 | source noncore/comm/config.in |
200 | source noncore/comm/config.in |
192 | source noncore/net/config.in |
201 | source noncore/net/config.in |
193 | endmenu |
202 | endmenu |
194 | |
203 | |
195 | menu "Games" |
204 | menu "Games" |
196 | source noncore/games/config.in |
205 | source noncore/games/config.in |
197 | endmenu |
206 | endmenu |
198 | |
207 | |
199 | menu "Graphics and Multimedia" |
208 | menu "Graphics and Multimedia" |
200 | source freetype/config.in |
209 | source freetype/config.in |
201 | source noncore/graphics/config.in |
210 | source noncore/graphics/config.in |
202 | source core/multimedia/config.in |
211 | source core/multimedia/config.in |
203 | source noncore/multimedia/config.in |
212 | source noncore/multimedia/config.in |
204 | endmenu |
213 | endmenu |
205 | |
214 | |
|