|
diff --git a/config.in b/config.in index 31d4684..2e9c90e 100644 --- a/ config.in+++ b/ config.in |
|
@@ -1,165 +1,174 @@ |
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 |
|