summaryrefslogtreecommitdiff
path: root/config.in.in
Side-by-side diff
Diffstat (limited to 'config.in.in') (more/less context) (ignore whitespace changes)
-rw-r--r--config.in.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.in.in b/config.in.in
index 7af1f17..679292f 100644
--- a/config.in.in
+++ b/config.in.in
@@ -31,12 +31,16 @@ choice
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
@@ -46,12 +50,19 @@ config SPECFILE
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