author | kergoth <kergoth> | 2002-11-06 22:46:03 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-06 22:46:03 (UTC) |
commit | b6a55a339cf2d5829a9f13bf0bd50899c811f54d (patch) (unidiff) | |
tree | 30fc7cecfa669a18ef10fd9168678b020b40e101 /config.in.in | |
parent | e44cdb16632a4c904d8c43471fea1f8e790c7651 (diff) | |
download | opie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.zip opie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.tar.gz opie-b6a55a339cf2d5829a9f13bf0bd50899c811f54d.tar.bz2 |
Use optimizations
-rw-r--r-- | config.in.in | 11 |
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 | |||
@@ -33,8 +33,12 @@ choice | |||
33 | boolean "Ipaq" | 33 | boolean "Ipaq" |
34 | 34 | ||
35 | endchoice | 35 | endchoice |
36 | 36 | ||
37 | config OPTIMIZE | ||
38 | boolean "Use optimizations" | ||
39 | default "y" if ! TARGET_X86 | ||
40 | |||
37 | config SPECFILE | 41 | config SPECFILE |
38 | string | 42 | string |
39 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) | 43 | default "qws/linux-generic-g++" if TARGET_X86 && (! X11) |
40 | default "linux-g++" if TARGET_X86 && X11 | 44 | default "linux-g++" if TARGET_X86 && X11 |
@@ -48,8 +52,15 @@ config CUSTOMFILE | |||
48 | string | 52 | string |
49 | default "custom-ipaq.h" if TARGET_IPAQ | 53 | default "custom-ipaq.h" if TARGET_IPAQ |
50 | default "custom-sharp.h" if TARGET_SHARP | 54 | default "custom-sharp.h" if TARGET_SHARP |
51 | 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 | |||
52 | #config CROSS | 63 | #config CROSS |
53 | # string "Crosscompilation prefix" | 64 | # string "Crosscompilation prefix" |
54 | # default "arm-linux-" | 65 | # default "arm-linux-" |
55 | # help | 66 | # help |