summaryrefslogtreecommitdiff
path: root/config.in
authorkergoth <kergoth>2003-01-24 01:09:11 (UTC)
committer kergoth <kergoth>2003-01-24 01:09:11 (UTC)
commitfdf29b4b01231c746f7697365fcd7bd57d154365 (patch) (unidiff)
tree309306f501beb67a0267fa2b925a3fdaadbd6f2a /config.in
parent3de1877c4c39c3cc99848204da8e32fc6e3d9efb (diff)
downloadopie-fdf29b4b01231c746f7697365fcd7bd57d154365.zip
opie-fdf29b4b01231c746f7697365fcd7bd57d154365.tar.gz
opie-fdf29b4b01231c746f7697365fcd7bd57d154365.tar.bz2
Add debug to config system. enabling/disabling this option alters a toplevel gen.pro file, which alters the CONFIG parameter in the .pro files. In this way you can enable/disable debug builds globally via the config system.
Diffstat (limited to 'config.in') (more/less context) (ignore whitespace changes)
-rw-r--r--config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.in b/config.in
index 8559e73..97e1e80 100644
--- a/config.in
+++ b/config.in
@@ -1,146 +1,150 @@
1mainmenu "Opie Configuration" 1mainmenu "Opie Configuration"
2menu "Build Parameters" 2menu "Build Parameters"
3 3
4#choice 4#choice
5# prompt "Build Processor family" 5# prompt "Build Processor family"
6# default BUILD_X86 6# default BUILD_X86
7# help 7# help
8# Please select the architecture of the machine you will be 8# Please select the architecture of the machine you will be
9# building the OpenZaurus buildroot on. 9# building the OpenZaurus buildroot on.
10# 10#
11# config BUILD_X86 11# config BUILD_X86
12# boolean "X86 Architecture" 12# boolean "X86 Architecture"
13# 13#
14#endchoice 14#endchoice
15 15
16choice 16choice
17 prompt "Target Machine" 17 prompt "Target Machine"
18 default TARGET_X86 18 default TARGET_X86
19 help 19 help
20 Please select the architecture of the machine you will be 20 Please select the architecture of the machine you will be
21 building the OpenZaurus buildroot for. 21 building the OpenZaurus buildroot for.
22 22
23 config TARGET_X86 23 config TARGET_X86
24 boolean "Intel X86" 24 boolean "Intel X86"
25 25
26 config TARGET_SHARP 26 config TARGET_SHARP
27 boolean "Sharp Zaurus SL-5x00 - stock" 27 boolean "Sharp Zaurus SL-5x00 - stock"
28 28
29# config TARGET_OZ 29# config TARGET_OZ
30# boolean "Sharp Zaurus SL-5x00 - OpenZaurus" 30# boolean "Sharp Zaurus SL-5x00 - OpenZaurus"
31 31
32 config TARGET_IPAQ 32 config TARGET_IPAQ
33 boolean "Ipaq" 33 boolean "Ipaq"
34 34
35endchoice 35endchoice
36 36
37config OPTIMIZE 37config OPTIMIZE
38 boolean "Use optimizations" 38 boolean "Use optimizations"
39 default "y" if ! TARGET_X86 39 default "y" if ! TARGET_X86
40 40
41config DEBUG
42 boolean "Enable debug builds"
43 default "n"
44
41config SPECFILE 45config SPECFILE
42 string 46 string
43 default "qws/linux-generic-g++" if TARGET_X86 && (! X11) 47 default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
44 default "linux-g++" if TARGET_X86 && X11 48 default "linux-g++" if TARGET_X86 && X11
45 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) 49 default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
46 default "linux-g++" if TARGET_SHARP && X11 50 default "linux-g++" if TARGET_SHARP && X11
47# default "linux-oz-g++" if TARGET_OZ 51# default "linux-oz-g++" if TARGET_OZ
48 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) 52 default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
49 default "linux-g++" if TARGET_IPAQ && X11 53 default "linux-g++" if TARGET_IPAQ && X11
50 54
51config CUSTOMFILE 55config CUSTOMFILE
52 string 56 string
53 default "custom-ipaq.h" if TARGET_IPAQ 57 default "custom-ipaq.h" if TARGET_IPAQ
54 default "custom-sharp.h" if TARGET_SHARP 58 default "custom-sharp.h" if TARGET_SHARP
55 59
56 60
57config OPTIMIZATIONS 61config OPTIMIZATIONS
58 string "Optimization flags" 62 string "Optimization flags"
59 depends OPTIMIZE 63 depends OPTIMIZE
60 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ 64 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
61 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP 65 default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
62 66
63#config CROSS 67#config CROSS
64# string "Crosscompilation prefix" 68# string "Crosscompilation prefix"
65# default "arm-linux-" 69# default "arm-linux-"
66# help 70# help
67# Crosscompilation prefix is the prefix which will be prepended 71# Crosscompilation prefix is the prefix which will be prepended
68# to all compilation commands. For example, a crosscompilation prefix 72# to all compilation commands. For example, a crosscompilation prefix
69# of arm-linux-, results in the build calling arm-linux-gcc as its CC. 73# of arm-linux-, results in the build calling arm-linux-gcc as its CC.
70 74
71endmenu 75endmenu
72 76
73menu "Base" 77menu "Base"
74 choice 78 choice
75 prompt "Qpe Library Selection" 79 prompt "Qpe Library Selection"
76 default LIBQPE 80 default LIBQPE
77 81
78 source library/config.in 82 source library/config.in
79 source x11/config.in 83 source x11/config.in
80 endchoice 84 endchoice
81 source libopie/config.in 85 source libopie/config.in
82 source core/opie-login/config.in 86 source core/opie-login/config.in
83 source core/opiealarm/config.in 87 source core/opiealarm/config.in
84 source core/launcher/config.in 88 source core/launcher/config.in
85endmenu 89endmenu
86 90
87comment "" 91comment ""
88 92
89#config APPLETS 93#config APPLETS
90# bool "Applets" 94# bool "Applets"
91# default "y" 95# default "y"
92 96
93menu "Applets" 97menu "Applets"
94# depends APPLETS 98# depends APPLETS
95 99
96 source core/applets/config.in 100 source core/applets/config.in
97 source noncore/applets/config.in 101 source noncore/applets/config.in
98endmenu 102endmenu
99 103
100#config APPS 104#config APPS
101# bool "Apps" 105# bool "Apps"
102# default "y" 106# default "y"
103 107
104menu "Apps" 108menu "Apps"
105# depends APPS 109# depends APPS
106 110
107 source core/apps/config.in 111 source core/apps/config.in
108 source noncore/apps/config.in 112 source noncore/apps/config.in
109endmenu 113endmenu
110 114
111menu "Communications and Networking" 115menu "Communications and Networking"
112 source noncore/comm/config.in 116 source noncore/comm/config.in
113 source noncore/mail/config.in 117 source noncore/mail/config.in
114 source noncore/net/config.in 118 source noncore/net/config.in
115endmenu 119endmenu
116menu "Games" 120menu "Games"
117 source noncore/games/config.in 121 source noncore/games/config.in
118endmenu 122endmenu
119menu "Graphics and Multimedia" 123menu "Graphics and Multimedia"
120 source freetype/config.in 124 source freetype/config.in
121 source noncore/graphics/config.in 125 source noncore/graphics/config.in
122 source core/multimedia/config.in 126 source core/multimedia/config.in
123 source noncore/multimedia/config.in 127 source noncore/multimedia/config.in
124endmenu 128endmenu
125menu "Input methods" 129menu "Input methods"
126 source inputmethods/config.in 130 source inputmethods/config.in
127endmenu 131endmenu
128menu "Pim" 132menu "Pim"
129 source core/pim/config.in 133 source core/pim/config.in
130 menu "Today Plugins" 134 menu "Today Plugins"
131 source noncore/todayplugins/config.in 135 source noncore/todayplugins/config.in
132 source core/pim/today/plugins/config.in 136 source core/pim/today/plugins/config.in
133 endmenu 137 endmenu
134endmenu 138endmenu
135menu "Settings" 139menu "Settings"
136 source core/settings/config.in 140 source core/settings/config.in
137 source noncore/settings/config.in 141 source noncore/settings/config.in
138endmenu 142endmenu
139menu "Theming" 143menu "Theming"
140 source noncore/decorations/config.in 144 source noncore/decorations/config.in
141 source noncore/styles/config.in 145 source noncore/styles/config.in
142endmenu 146endmenu
143menu "Tools" 147menu "Tools"
144 source noncore/tools/config.in 148 source noncore/tools/config.in
145 source development/config.in 149 source development/config.in
146endmenu 150endmenu