summaryrefslogtreecommitdiff
path: root/config.in
blob: 57036a94c849a3785f743a9b75b742b00de7507e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
mainmenu "Opie Configuration"
menu "Build Parameters"

#choice
# prompt "Build Processor family"
#  default BUILD_X86
#  help
#    Please select the architecture of the machine you will be
#    building the OpenZaurus buildroot on.
#
#  config BUILD_X86
#    boolean "X86 Architecture"
#
#endchoice

choice
  prompt "Target Machine"
  default TARGET_X86
  help
    Please select the architecture of the machine you will be
    building the OpenZaurus buildroot for.

  config TARGET_X86
    boolean "Intel X86"

  config TARGET_SHARP
    boolean "Sharp Zaurus SL-5x00 - stock"

#  config TARGET_OZ
#    boolean "Sharp Zaurus SL-5x00 - OpenZaurus"

  config TARGET_IPAQ
    boolean "iPAQ"

  config TARGET_RAMSES
    boolean "Ramses"

endchoice

config OPTIMIZE
  boolean "Use optimizations"
  default "y" if ! TARGET_X86

config DEBUG
  boolean "Enable debug builds"
  default n

  config RELEASE
    bool
    default y
    depends ! DEBUG

config SPECFILE
  string
  default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
  default "linux-g++" if TARGET_X86 && X11
  default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11)
  default "linux-g++" if TARGET_SHARP && X11
#  default "linux-oz-g++" if TARGET_OZ
  default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11)
  default "linux-g++" if TARGET_IPAQ && X11
  default "qws/linux-ramses-g++" if TARGET_RAMSES && (! X11)
  default "linux-g++" if TARGET_RAMSES && X11

config CUSTOMFILE
  string
  default "custom-ipaq.h" if TARGET_IPAQ
  default "custom-sharp.h" if TARGET_SHARP
  default "custom-ramses.h" if TARGET_RAMSES
  

config OPTIMIZATIONS
  string "Optimization flags"
  depends OPTIMIZE
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_IPAQ
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_SHARP
  default "-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2" if TARGET_RAMSES

#config CROSS
#  string "Crosscompilation prefix"
#  default "arm-linux-"
#  help
#    Crosscompilation prefix is the prefix which will be prepended
#    to all compilation commands. For example, a crosscompilation prefix
#    of arm-linux-, results in the build calling arm-linux-gcc as its CC.

config EXPERIMENTAL
  bool "Prompt for development and/or incomplete items"
  default y

endmenu

menu "Base"
  choice
    prompt "Qpe Library Selection"
    default LIBQPE
    
    source library/config.in
    source x11/config.in
  endchoice
  source libopie/config.in
  source core/opie-login/config.in
  source core/opiealarm/config.in
  source core/launcher/config.in
  source core/qws/config.in
endmenu

comment ""

#config APPLETS
# bool "Applets"
# default "y"

menu "Applets"
# depends APPLETS
  
  source core/applets/config.in
  source noncore/applets/config.in
endmenu

#config APPS
# bool "Apps"
# default "y"

menu "Apps"
# depends APPS
  
  source core/apps/config.in
  source noncore/apps/config.in
endmenu

menu "Communications and Networking"
  source noncore/comm/config.in
  source noncore/mail/config.in
  source noncore/net/config.in
endmenu
menu "Games"
  source noncore/games/config.in
endmenu
menu "Graphics and Multimedia"
  source freetype/config.in
  source noncore/graphics/config.in
  source core/multimedia/config.in
  source noncore/multimedia/config.in
endmenu
menu "Input methods"
  source inputmethods/config.in
endmenu
menu "Pim"
  source core/pim/config.in
  menu "Today Plugins"
    source noncore/todayplugins/config.in
    source core/pim/today/plugins/config.in
  endmenu
endmenu
menu "Settings"
  source core/settings/config.in
  source noncore/settings/config.in
endmenu
menu "Theming"
  source noncore/decorations/config.in
  source noncore/styles/config.in
endmenu
menu "Tools"
  source noncore/tools/config.in
  source development/config.in
endmenu
comment ""
  depends on EXPERIMENTAL
menu "Experimental"
  depends on EXPERIMENTAL
  source libopie2/config.in
endmenu