summaryrefslogtreecommitdiff
path: root/config.in.in
authorkergoth <kergoth>2002-11-06 22:46:03 (UTC)
committer kergoth <kergoth>2002-11-06 22:46:03 (UTC)
commitb6a55a339cf2d5829a9f13bf0bd50899c811f54d (patch) (side-by-side diff)
tree30fc7cecfa669a18ef10fd9168678b020b40e101 /config.in.in
parente44cdb16632a4c904d8c43471fea1f8e790c7651 (diff)
downloadopie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.zip
opie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.tar.gz
opie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.tar.bz2
Use optimizations
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
@@ -34,6 +34,10 @@ choice
endchoice
+config OPTIMIZE
+ boolean "Use optimizations"
+ default "y" if ! TARGET_X86
+
config SPECFILE
string
default "qws/linux-generic-g++" if TARGET_X86 && (! X11)
@@ -49,6 +53,13 @@ config CUSTOMFILE
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-"