|
diff --git a/config.in b/config.in index 124bc2a..c75576a 100644 --- a/ config.in+++ b/ config.in |
|
@@ -1,177 +1,181 @@ |
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_IPAQ |
24 | config TARGET_IPAQ |
25 | boolean "iPAQ" |
25 | boolean "iPAQ" |
26 | |
26 | |
27 | config TARGET_RAMSES |
27 | config TARGET_RAMSES |
28 | boolean "Ramses" |
28 | boolean "Ramses" |
29 | |
29 | |
30 | config TARGET_SIMPAD |
30 | config TARGET_SIMPAD |
31 | boolean "SIMpad" |
31 | boolean "SIMpad" |
32 | |
32 | |
33 | config TARGET_YOPY |
33 | config TARGET_YOPY |
34 | boolean "Yopy 3500/3700" |
34 | boolean "Yopy 3500/3700" |
35 | |
35 | |
36 | endchoice |
36 | endchoice |
37 | |
37 | |
38 | config OPTIMIZE |
38 | config OPTIMIZE |
39 | boolean "Use optimizations" |
39 | boolean "Use optimizations" |
40 | default "y" if ! TARGET_X86 |
40 | default "y" if ! TARGET_X86 |
41 | |
41 | |
42 | # added for threaded compile |
| |
43 | config THREADED |
42 | config THREADED |
44 | boolean "Enable threaded build" |
43 | boolean "Enable threaded build" |
45 | default "n" |
44 | default "n" |
46 | |
45 | |
| |
46 | config STATIC |
| |
47 | boolean "Build static libraries" |
| |
48 | default "n" |
| |
49 | |
47 | config DEBUG |
50 | config DEBUG |
48 | boolean "Enable debug builds" |
51 | boolean "Enable debug builds" |
49 | default n |
52 | default n |
| |
53 | |
50 | config RELEASE |
54 | config RELEASE |
51 | bool |
55 | bool |
52 | default y |
56 | default y |
53 | depends !DEBUG |
57 | depends !DEBUG |
54 | |
58 | |
55 | config QUICK_LAUNCH |
59 | config QUICK_LAUNCH |
56 | boolean "Enable Quick Launch" |
60 | boolean "Enable Quick Launch" |
57 | default n if TARGET_X86 |
61 | default n if TARGET_X86 |
58 | default y if ! TARGET_X86 |
62 | default y if ! TARGET_X86 |
59 | |
63 | |
60 | config QUICKLAUNCH_PATH |
64 | config QUICKLAUNCH_PATH |
61 | string "Path to quicklauncher" |
65 | string "Path to quicklauncher" |
62 | default "./quicklauncher" if TARGET_X86 |
66 | default "./quicklauncher" if TARGET_X86 |
63 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
67 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
64 | |
68 | |
65 | config SPECFILE |
69 | config SPECFILE |
66 | string |
70 | string |
67 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
71 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
68 | default "linux-g++" if TARGET_X86 && X11 |
72 | default "linux-g++" if TARGET_X86 && X11 |
69 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
73 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
70 | default "linux-g++" if TARGET_SHARP && X11 |
74 | default "linux-g++" if TARGET_SHARP && X11 |
71 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
75 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
72 | default "linux-g++" if TARGET_IPAQ && X11 |
76 | default "linux-g++" if TARGET_IPAQ && X11 |
73 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
77 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
74 | default "linux-g++" if TARGET_RAMSES && X11 |
78 | default "linux-g++" if TARGET_RAMSES && X11 |
75 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
79 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
76 | default "linux-g++" if TARGET_SIMPAD && X11 |
80 | default "linux-g++" if TARGET_SIMPAD && X11 |
77 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
81 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
78 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
82 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
79 | |
83 | |
80 | config CUSTOMFILE |
84 | config CUSTOMFILE |
81 | string |
85 | string |
82 | default "custom-ipaq.h" if TARGET_IPAQ |
86 | default "custom-ipaq.h" if TARGET_IPAQ |
83 | default "custom-sharp.h" if TARGET_SHARP |
87 | default "custom-sharp.h" if TARGET_SHARP |
84 | default "custom-ramses.h" if TARGET_RAMSES |
88 | default "custom-ramses.h" if TARGET_RAMSES |
85 | default "custom-ipaq.h" if TARGET_SIMPAD |
89 | default "custom-ipaq.h" if TARGET_SIMPAD |
86 | default "custom-yopy.h" if TARGET_YOPY |
90 | default "custom-yopy.h" if TARGET_YOPY |
87 | |
91 | |
88 | config OPTIMIZATIONS |
92 | config OPTIMIZATIONS |
89 | string "Optimization flags" |
93 | string "Optimization flags" |
90 | depends OPTIMIZE |
94 | depends OPTIMIZE |
91 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
95 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ |
92 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
96 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_YOPY |
93 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
97 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP |
94 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
98 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES |
95 | default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SIMPAD |
99 | 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 |
100 | default "-march=armv5te -mtune=xscale -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_C700 |
97 | |
101 | |
98 | config EXPERIMENTAL |
102 | config EXPERIMENTAL |
99 | bool "Prompt for development and/or incomplete items" |
103 | bool "Prompt for development and/or incomplete items" |
100 | default y |
104 | default y |
101 | |
105 | |
102 | endmenu |
106 | endmenu |
103 | |
107 | |
104 | menu "Configuration" |
108 | menu "Configuration" |
105 | config OPIE_NO_OVERRIDE_QT |
109 | config OPIE_NO_OVERRIDE_QT |
106 | boolean "Build Opie against an unpatched version of Qt" |
110 | boolean "Build Opie against an unpatched version of Qt" |
107 | default n |
111 | default n |
108 | |
112 | |
109 | config OPIE_NO_ERASERECT_FIX |
113 | config OPIE_NO_ERASERECT_FIX |
110 | boolean "Disable Fixup eraseRect for HancomMobileWord,neocal.. to make libopiecore work on Sharps libqpe" |
114 | boolean "Disable Fixup eraseRect for HancomMobileWord,neocal.. to make libopiecore work on Sharps libqpe" |
111 | default n |
115 | default n |
112 | |
116 | |
113 | config OPIE_NO_BUILTIN_SHUTDOWN |
117 | config OPIE_NO_BUILTIN_SHUTDOWN |
114 | boolean "Disable the built in shutdown application" |
118 | boolean "Disable the built in shutdown application" |
115 | default y |
119 | default y |
116 | |
120 | |
117 | config OPIE_NO_BUILTIN_CALIBRATE |
121 | config OPIE_NO_BUILTIN_CALIBRATE |
118 | boolean "Disable the built in calibrate application" |
122 | boolean "Disable the built in calibrate application" |
119 | default y if TARGET_YOPY |
123 | default y if TARGET_YOPY |
120 | default n if ! TARGET_YOPY |
124 | default n if ! TARGET_YOPY |
121 | |
125 | |
122 | config OPIE_SOUND_FRAGMENT_SHIFT |
126 | config OPIE_SOUND_FRAGMENT_SHIFT |
123 | string "The sound fragment used in Opie Player I" |
127 | string "The sound fragment used in Opie Player I" |
124 | default "14" if TARGET_IPAQ |
128 | default "14" if TARGET_IPAQ |
125 | default "16" if ! TARGET_IPAQ |
129 | default "16" if ! TARGET_IPAQ |
126 | |
130 | |
127 | config USE_REALTIME_AUDIO_THREAD |
131 | config USE_REALTIME_AUDIO_THREAD |
128 | boolean "Use a realtime thread in Opie Player I" |
132 | boolean "Use a realtime thread in Opie Player I" |
129 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
133 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
130 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
134 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
131 | |
135 | |
132 | config QT_QWS_ALLOW_OVERCLOCK |
136 | config QT_QWS_ALLOW_OVERCLOCK |
133 | boolean "Allow the user to overclock the device" |
137 | boolean "Allow the user to overclock the device" |
134 | depends TARGET_RAMSES |
138 | depends TARGET_RAMSES |
135 | default n |
139 | default n |
136 | |
140 | |
137 | config OPIE_HIGH_RES_SMALL_PHY |
141 | config OPIE_HIGH_RES_SMALL_PHY |
138 | boolean "Resolution is bigger than physical screen" |
142 | boolean "Resolution is bigger than physical screen" |
139 | default y if TARGET_C700 |
143 | default y if TARGET_C700 |
140 | default n if ! TARGET_C700 |
144 | default n if ! TARGET_C700 |
141 | |
145 | |
142 | config USE_FILE_NOTIFICATION |
146 | config USE_FILE_NOTIFICATION |
143 | boolean "Substitute (some) polling interfaces with OFileNotifier" |
147 | boolean "Substitute (some) polling interfaces with OFileNotifier" |
144 | default y |
148 | default y |
145 | |
149 | |
146 | config OPIE_NEW_ALLOC |
150 | config OPIE_NEW_ALLOC |
147 | boolean "Use malloc and free for the implementation" |
151 | boolean "Use malloc and free for the implementation" |
148 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
152 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
149 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
153 | default n if ! (TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP) |
150 | |
154 | |
151 | config OPIE_NO_SOUND_PCM_READ_BITS |
155 | config OPIE_NO_SOUND_PCM_READ_BITS |
152 | boolean "There is not a pcm_read_bits io control" |
156 | boolean "There is not a pcm_read_bits io control" |
153 | default y if TARGET_SHARP |
157 | default y if TARGET_SHARP |
154 | default n if ! TARGET_SHARP |
158 | default n if ! TARGET_SHARP |
155 | endmenu |
159 | endmenu |
156 | |
160 | |
157 | menu "Dependencies" |
161 | menu "Dependencies" |
158 | source dependencies.in |
162 | source dependencies.in |
159 | endmenu |
163 | endmenu |
160 | |
164 | |
161 | menu "Base" |
165 | menu "Base" |
162 | choice |
166 | choice |
163 | prompt "Qpe Library Selection" |
167 | prompt "Qpe Library Selection" |
164 | default LIBQPE |
168 | default LIBQPE |
165 | source library/config.in |
169 | source library/config.in |
166 | source x11/config.in |
170 | source x11/config.in |
167 | endchoice |
171 | endchoice |
168 | source libopie/config.in |
172 | source libopie/config.in |
169 | |
173 | |
170 | source libopie2/config.in |
174 | source libopie2/config.in |
171 | source libqtaux/config.in |
175 | source libqtaux/config.in |
172 | source rsync/config.in |
176 | source rsync/config.in |
173 | source core/opie-login/config.in |
177 | source core/opie-login/config.in |
174 | source core/opiealarm/config.in |
178 | source core/opiealarm/config.in |
175 | source core/tools/quicklauncher/config.in |
179 | source core/tools/quicklauncher/config.in |
176 | source core/launcher/config.in |
180 | source core/launcher/config.in |
177 | source core/symlinker/config.in |
181 | source core/symlinker/config.in |
|