summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--config.in89
-rw-r--r--library/config.in5
-rw-r--r--x11/config.in3
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 @@
1mainmenu "Opie Configuration"
2menu "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
16choice
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
35endchoice
36
37config OPTIMIZE
38 boolean "Use optimizations"
39 default "y" if ! TARGET_X86
40
41config 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
51config CUSTOMFILE
52 string
53 default "custom-ipaq.h" if TARGET_IPAQ
54 default "custom-sharp.h" if TARGET_SHARP
55
56
57config 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
71endmenu
72
73menu "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
83endmenu
84
85source inputmethods/config.in
86source core/config.in
87source noncore/config.in
88source development/config.in
89source 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 @@
1config LIBQPE 1config 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,5 +1,4 @@
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