summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--config.in4
-rw-r--r--dependencies.in59
2 files changed, 63 insertions, 0 deletions
diff --git a/config.in b/config.in
index 25f554c..31d4684 100644
--- a/config.in
+++ b/config.in
@@ -1,252 +1,256 @@
1mainmenu "Opie Configuration" 1mainmenu "Opie Configuration"
2 2
3menu "Build Parameters" 3menu "Build Parameters"
4 4
5choice 5choice
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
33endchoice 33endchoice
34 34
35config OPTIMIZE 35config 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
40config THREADED 40config THREADED
41 boolean "Enable threaded build" 41 boolean "Enable threaded build"
42 default "n" 42 default "n"
43 43
44config DEBUG 44config DEBUG
45 boolean "Enable debug builds" 45 boolean "Enable debug builds"
46 default n 46 default n
47config RELEASE 47config RELEASE
48 bool 48 bool
49 default y 49 default y
50 depends !DEBUG 50 depends !DEBUG
51 51
52config QUICK_LAUNCH 52config QUICK_LAUNCH
53 boolean "Enable Quick Launch" 53 boolean "Enable Quick Launch"
54 default n 54 default n
55 55
56config QUICKLAUNCH_PATH 56config 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
61config SPECFILE 61config 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
76config CUSTOMFILE 76config 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
84config OPTIMIZATIONS 84config 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
93config EXPERIMENTAL 93config 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
97endmenu 97endmenu
98 98
99menu "Configuration" 99menu "Configuration"
100config OPIE_NO_OVERRIDE_QT 100config 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
104config OPIE_NO_BUILTIN_SHUTDOWN 104config 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
108config OPIE_NO_BUILTIN_CALIBRATE 108config 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
113config OPIE_SOUND_FRAGMENT_SHIFT 113config 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
118config USE_REALTIME_AUDIO_THREAD 118config 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
123config QT_QWS_ALLOW_OVERCLOCK 123config 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
128config OPIE_HIGH_RES_SMALL_PHY 128config 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
133config OPIE_NEW_ALLOC 133config 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
138config OPIE_NO_SOUND_PCM_READ_BITS 138config 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
143config OPIE_WE_VERSION_OVERRIDE 143config 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
147config OPIE_WE_VERSION 147config 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
153endmenu 153endmenu
154 154
155menu "Dependencies"
156 source dependencies.in
157endmenu
158
155menu "Base" 159menu "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
172endmenu 176endmenu
173 177
174comment "" 178comment ""
175 179
176menu "Applets" 180menu "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
179endmenu 183endmenu
180 184
181menu "Apps" 185menu "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
184endmenu 188endmenu
185 189
186menu "Communications and Networking" 190menu "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
189endmenu 193endmenu
190 194
191menu "Games" 195menu "Games"
192 source noncore/games/config.in 196 source noncore/games/config.in
193endmenu 197endmenu
194 198
195menu "Graphics and Multimedia" 199menu "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
200endmenu 204endmenu
201 205
202menu "Input methods" 206menu "Input methods"
203 source inputmethods/config.in 207 source inputmethods/config.in
204endmenu 208endmenu
205 209
206menu "Pim" 210menu "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
211endmenu 215endmenu
212 216
213menu "Settings" 217menu "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
216endmenu 220endmenu
217 221
218menu "Theming" 222menu "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
223endmenu 227endmenu
224 228
225menu "Tools" 229menu "Tools"
226 source noncore/tools/config.in 230 source noncore/tools/config.in
227endmenu 231endmenu
228 232
229menu "Development" 233menu "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
232endmenu 236endmenu
233 237
234menu "Examples" 238menu "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
238endmenu 242endmenu
239 243
240comment "" 244comment ""
241 245
242menu "Unsupported / Unmaintained" 246menu "Unsupported / Unmaintained"
243 source noncore/unsupported/config.in 247 source noncore/unsupported/config.in
244endmenu 248endmenu
245 249
246comment "" 250comment ""
247 depends on EXPERIMENTAL 251 depends on EXPERIMENTAL
248menu "Experimental" 252menu "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
252endmenu 256endmenu
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