summaryrefslogtreecommitdiff
path: root/config.in
authorkergoth <kergoth>2003-01-16 04:45:41 (UTC)
committer kergoth <kergoth>2003-01-16 04:45:41 (UTC)
commit27adc303dffae98b91ecefd5a81d016dc539dd87 (patch) (side-by-side diff)
tree522bc418b7e3b3ce78e420694f7b105c2eed9eb1 /config.in
parent8485d32aac0500a21d3b9b89df66900b427b57ee (diff)
downloadopie-27adc303dffae98b91ecefd5a81d016dc539dd87.zip
opie-27adc303dffae98b91ecefd5a81d016dc539dd87.tar.gz
opie-27adc303dffae98b91ecefd5a81d016dc539dd87.tar.bz2
Make qt/x11 vs qt/e selection a proper 'choice' in the config system.
Diffstat (limited to 'config.in') (more/less context) (ignore whitespace changes)
-rw-r--r--config.in89
1 files changed, 89 insertions, 0 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 @@
+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"
+
+endchoice
+
+config OPTIMIZE
+ boolean "Use optimizations"
+ default "y" if ! TARGET_X86
+
+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
+
+config CUSTOMFILE
+ string
+ default "custom-ipaq.h" if TARGET_IPAQ
+ default "custom-sharp.h" if TARGET_SHARP
+
+
+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
+
+#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.
+
+endmenu
+
+menu "Libraries"
+ choice
+ prompt "Qpe Library Selection"
+ default LIBQPE
+
+ source library/config.in
+ source x11/config.in
+ endchoice
+ source libopie/config.in
+ source freetype/config.in
+endmenu
+
+source inputmethods/config.in
+source core/config.in
+source noncore/config.in
+source development/config.in
+source quickexec/config.in