author | kergoth <kergoth> | 2003-01-16 04:45:41 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-16 04:45:41 (UTC) |
commit | 27adc303dffae98b91ecefd5a81d016dc539dd87 (patch) (unidiff) | |
tree | 522bc418b7e3b3ce78e420694f7b105c2eed9eb1 | |
parent | 8485d32aac0500a21d3b9b89df66900b427b57ee (diff) | |
download | opie-27adc303dffae98b91ecefd5a81d016dc539dd87.zip opie-27adc303dffae98b91ecefd5a81d016dc539dd87.tar.gz opie-27adc303dffae98b91ecefd5a81d016dc539dd87.tar.bz2 |
Make qt/x11 vs qt/e selection a proper 'choice' in the config system.
-rw-r--r-- | config.in | 89 | ||||
-rw-r--r-- | library/config.in | 5 | ||||
-rw-r--r-- | x11/config.in | 3 |
3 files changed, 91 insertions, 6 deletions
diff --git a/config.in b/config.in new file mode 100644 index 0000000..9f89b74 --- a/dev/null +++ b/config.in | |||
@@ -0,0 +1,89 @@ | |||
1 | mainmenu "Opie Configuration" | ||
2 | menu "Build Parameters" | ||
3 | |||
4 | #choice | ||
5 | # prompt "Build Processor family" | ||
6 | # default BUILD_X86 | ||
7 | # help | ||
8 | # Please select the architecture of the machine you will be | ||
9 | # building the OpenZaurus buildroot on. | ||
10 | # | ||
11 | # config BUILD_X86 | ||
12 | # boolean "X86 Architecture" | ||
13 | # | ||
14 | #endchoice | ||
15 | |||
16 | choice | ||
17 | prompt "Target Machine" | ||
18 | default TARGET_X86 | ||
19 | help | ||
20 | Please select the architecture of the machine you will be | ||
21 | building the OpenZaurus buildroot for. | ||
22 | |||
23 | config TARGET_X86 | ||
24 | boolean "Intel X86" | ||
25 | |||
26 | config TARGET_SHARP | ||
27 | boolean "Sharp Zaurus SL-5x00 - stock" | ||
28 | |||
29 | # config TARGET_OZ | ||
30 | # boolean "Sharp Zaurus SL-5x00 - OpenZaurus" | ||
31 | |||
32 | config TARGET_IPAQ | ||
33 | boolean "Ipaq" | ||
34 | |||
35 | endchoice | ||
36 | |||
37 | config OPTIMIZE | ||
38 | boolean "Use optimizations" | ||
39 | default "y" if ! TARGET_X86 | ||
40 | |||
41 | config SPECFILE | ||
42 | string | ||
43 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) | ||
44 | default "linux-g++" if TARGET_X86 && X11 | ||
45 | default "qws/linux-sharp-g++" if TARGET_SHARP && (! X11) | ||
46 | default "linux-g++" if TARGET_SHARP && X11 | ||
47 | # default "linux-oz-g++" if TARGET_OZ | ||
48 | default "qws/linux-ipaq-g++" if TARGET_IPAQ && (! X11) | ||
49 | default "linux-g++" if TARGET_IPAQ && X11 | ||
50 | |||
51 | config CUSTOMFILE | ||
52 | string | ||
53 | default "custom-ipaq.h" if TARGET_IPAQ | ||
54 | default "custom-sharp.h" if TARGET_SHARP | ||
55 | |||
56 | |||
57 | config OPTIMIZATIONS | ||
58 | string "Optimization flags" | ||
59 | depends OPTIMIZE | ||
60 | 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 | ||
62 | |||
63 | #config CROSS | ||
64 | # string "Crosscompilation prefix" | ||
65 | # default "arm-linux-" | ||
66 | # help | ||
67 | # Crosscompilation prefix is the prefix which will be prepended | ||
68 | # to all compilation commands. For example, a crosscompilation prefix | ||
69 | # of arm-linux-, results in the build calling arm-linux-gcc as its CC. | ||
70 | |||
71 | endmenu | ||
72 | |||
73 | menu "Libraries" | ||
74 | choice | ||
75 | prompt "Qpe Library Selection" | ||
76 | default LIBQPE | ||
77 | |||
78 | source library/config.in | ||
79 | source x11/config.in | ||
80 | endchoice | ||
81 | source libopie/config.in | ||
82 | source freetype/config.in | ||
83 | endmenu | ||
84 | |||
85 | source inputmethods/config.in | ||
86 | source core/config.in | ||
87 | source noncore/config.in | ||
88 | source development/config.in | ||
89 | source quickexec/config.in | ||
diff --git a/library/config.in b/library/config.in index e87d1d2..ea69ccb 100644 --- a/library/config.in +++ b/library/config.in | |||
@@ -1,5 +1,2 @@ | |||
1 | config LIBQPE | 1 | config LIBQPE |
2 | boolean "Qpe library" | 2 | boolean "Qpe Library (Qt/Embedded version)" |
3 | default "y" if ! X11 | ||
4 | default "n" if X11 | ||
5 | depends on ! X11 | ||
diff --git a/x11/config.in b/x11/config.in index 6c49888..4eab192 100644 --- a/x11/config.in +++ b/x11/config.in | |||
@@ -1,6 +1,5 @@ | |||
1 | config X11 | 1 | config X11 |
2 | boolean "X11" | 2 | boolean "Qpe Library (Qt/X11 version)" |
3 | default "n" | ||
4 | 3 | ||
5 | source x11/libqpe-x11/config.in | 4 | source x11/libqpe-x11/config.in |
6 | source x11/ipc/server/config.in | 5 | source x11/ipc/server/config.in |