|
diff --git a/config.in b/config.in index 9ee7ccf..0b01f78 100644 --- a/ config.in+++ b/ config.in |
|
@@ -1,134 +1,139 @@ |
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 |
| |
40 | config THREADED |
| |
41 | boolean "Enable threaded build" |
| |
42 | default "n" |
| |
43 | |
39 | config DEBUG |
44 | config DEBUG |
40 | boolean "Enable debug builds" |
45 | boolean "Enable debug builds" |
41 | default n |
46 | default n |
42 | config RELEASE |
47 | config RELEASE |
43 | bool |
48 | bool |
44 | default y |
49 | default y |
45 | depends !DEBUG |
50 | depends !DEBUG |
46 | |
51 | |
47 | config QUICK_LAUNCH |
52 | config QUICK_LAUNCH |
48 | boolean "Enable Quick Launch" |
53 | boolean "Enable Quick Launch" |
49 | default n |
54 | default n |
50 | |
55 | |
51 | config QUICKLAUNCH_PATH |
56 | config QUICKLAUNCH_PATH |
52 | string "Path to quicklauncher" |
57 | string "Path to quicklauncher" |
53 | default "./quicklauncher" if TARGET_X86 |
58 | default "./quicklauncher" if TARGET_X86 |
54 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
59 | default "/opt/QtPalmtop/bin/quicklauncher" if ! TARGET_X86 |
55 | |
60 | |
56 | config SPECFILE |
61 | config SPECFILE |
57 | string |
62 | string |
58 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
63 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
59 | default "linux-g++" if TARGET_X86 && X11 |
64 | default "linux-g++" if TARGET_X86 && X11 |
60 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
65 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) |
61 | default "linux-g++" if TARGET_SHARP && X11 |
66 | default "linux-g++" if TARGET_SHARP && X11 |
62 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
67 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) |
63 | default "linux-g++" if TARGET_IPAQ && X11 |
68 | default "linux-g++" if TARGET_IPAQ && X11 |
64 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
69 | default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11) |
65 | default "linux-g++" if TARGET_RAMSES && X11 |
70 | default "linux-g++" if TARGET_RAMSES && X11 |
66 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
71 | default "qws/linux-simpad-g++" if TARGET_SIMPAD && (! X11) |
67 | default "linux-g++" if TARGET_SIMPAD && X11 |
72 | default "linux-g++" if TARGET_SIMPAD && X11 |
68 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
73 | default "qws/linux-yopy-g++" if TARGET_YOPY && (! X11) |
69 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
74 | default "qws/macx-generic-g++" if TARGET_MACOSX && (! X11) |
70 | |
75 | |
71 | config CUSTOMFILE |
76 | config CUSTOMFILE |
72 | string |
77 | string |
73 | default "custom-ipaq.h" if TARGET_IPAQ |
78 | default "custom-ipaq.h" if TARGET_IPAQ |
74 | default "custom-sharp.h" if TARGET_SHARP |
79 | default "custom-sharp.h" if TARGET_SHARP |
75 | default "custom-ramses.h" if TARGET_RAMSES |
80 | default "custom-ramses.h" if TARGET_RAMSES |
76 | default "custom-ipaq.h" if TARGET_SIMPAD |
81 | default "custom-ipaq.h" if TARGET_SIMPAD |
77 | default "custom-yopy.h" if TARGET_YOPY |
82 | default "custom-yopy.h" if TARGET_YOPY |
78 | |
83 | |
79 | config OPTIMIZATIONS |
84 | config OPTIMIZATIONS |
80 | string "Optimization flags" |
85 | string "Optimization flags" |
81 | depends OPTIMIZE |
86 | depends OPTIMIZE |
82 | 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 |
83 | 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 |
84 | 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 |
85 | 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 |
86 | 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 |
87 | |
92 | |
88 | config EXPERIMENTAL |
93 | config EXPERIMENTAL |
89 | bool "Prompt for development and/or incomplete items" |
94 | bool "Prompt for development and/or incomplete items" |
90 | default y |
95 | default y |
91 | |
96 | |
92 | endmenu |
97 | endmenu |
93 | |
98 | |
94 | menu "Configuration" |
99 | menu "Configuration" |
95 | config OPIE_NO_OVERRIDE_QT |
100 | config OPIE_NO_OVERRIDE_QT |
96 | boolean "Build Opie against an unpatched version of Qt" |
101 | boolean "Build Opie against an unpatched version of Qt" |
97 | default n |
102 | default n |
98 | |
103 | |
99 | config OPIE_NO_BUILTIN_SHUTDOWN |
104 | config OPIE_NO_BUILTIN_SHUTDOWN |
100 | boolean "Disable the built in shutdown application" |
105 | boolean "Disable the built in shutdown application" |
101 | default n |
106 | default n |
102 | |
107 | |
103 | config OPIE_NO_BUILTIN_CALIBRATE |
108 | config OPIE_NO_BUILTIN_CALIBRATE |
104 | boolean "Disable the built in calibrate application" |
109 | boolean "Disable the built in calibrate application" |
105 | default y if TARGET_YOPY |
110 | default y if TARGET_YOPY |
106 | default n |
111 | default n |
107 | |
112 | |
108 | config OPIE_SOUND_FRAGMENT_SHIFT |
113 | config OPIE_SOUND_FRAGMENT_SHIFT |
109 | string "The sound fragment used in Opie Player I" |
114 | string "The sound fragment used in Opie Player I" |
110 | default "14" if TARGET_IPAQ |
115 | default "14" if TARGET_IPAQ |
111 | default "16" if (!TARGET_IPAQ) |
116 | default "16" if (!TARGET_IPAQ) |
112 | |
117 | |
113 | config USE_REALTIME_AUDIO_THREAD |
118 | config USE_REALTIME_AUDIO_THREAD |
114 | boolean "Use a realtime thread in Opie Player I" |
119 | boolean "Use a realtime thread in Opie Player I" |
115 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
120 | default y if TARGET_IPAQ || TARGET_SIMPAD || TARGET_RAMSES || TARGET_SHARP |
116 | default n |
121 | default n |
117 | |
122 | |
118 | config QT_QWS_ALLOW_OVERCLOCK |
123 | config QT_QWS_ALLOW_OVERCLOCK |
119 | boolean "Allow the user to overclock the device" |
124 | boolean "Allow the user to overclock the device" |
120 | depends TARGET_RAMSES |
125 | depends TARGET_RAMSES |
121 | default n |
126 | default n |
122 | |
127 | |
123 | config OPIE_HIGH_RES_SMALL_PHY |
128 | config OPIE_HIGH_RES_SMALL_PHY |
124 | boolean "Resolution is bigger than physical screen" |
129 | boolean "Resolution is bigger than physical screen" |
125 | default y if TARGET_C700 |
130 | default y if TARGET_C700 |
126 | default n |
131 | default n |
127 | |
132 | |
128 | config OPIE_NEW_ALLOC |
133 | config OPIE_NEW_ALLOC |
129 | boolean "Use malloc and free for the implementation" |
134 | boolean "Use malloc and free for the implementation" |
130 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
135 | default y if TARGET_RAMSES || TARGET_IPAQ || TARGET_SIMPAD || TARGET_SHARP |
131 | default n |
136 | default n |
132 | |
137 | |
133 | config OPIE_NO_SOUND_PCM_READ_BITS |
138 | config OPIE_NO_SOUND_PCM_READ_BITS |
134 | boolean "There is not a pcm_read_bits io control" |
139 | boolean "There is not a pcm_read_bits io control" |
|