summaryrefslogtreecommitdiff
path: root/conf/machine/nslu2.conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-19 06:01:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-19 06:01:37 +0000
commite76d9a8ba9c798803949a61da8d5e72c66ec7f7b (patch)
treed8b73f9c352d11e8007ee9ced524b717d19b1eb3 /conf/machine/nslu2.conf
parent551478b744df4faaa3e63b1b052b2e95c6345778 (diff)
Modified FULL_OPTIMIZATION for NSLU2
Diffstat (limited to 'conf/machine/nslu2.conf')
-rw-r--r--conf/machine/nslu2.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 1484ac191c..2ce73ac836 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -19,6 +19,14 @@ IMAGE_ROOTFS_SIZE_ext2.gz = "10240"
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
PACKAGE_ARCH = "armeb"
+# Optimization settings. Os works fine and is significantly
+# better than O2. The other settings are somewhat arbitrary.
+# The optimisations chosen here include the ones which 'break'
+# symbolic debugging (because the compiler does not include
+# enough information to allow the debugger to know where given
+# values are.)
+FULL_OPTIMIZATION = "-fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -Os"
+
SERIAL_CONSOLE = "115200 ttyS0"
KERNEL_CONSOLE = "ttyS0,115200n8"
USE_VT = "0"