aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/nslu2.conf
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-11 20:49:14 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-11 20:49:14 +0000
commit5d0228c596f8ff96033c23258eadbb14de8aa094 (patch)
tree7e483e63cabe9499c779917a7130d23b07024a26 /conf/machine/nslu2.conf
parent4482fb65c15c522245c9fed2ed92bc182fb2304c (diff)
downloadopenembedded-5d0228c596f8ff96033c23258eadbb14de8aa094.tar.gz
Change the NSLU2 kernel build configuration method to allow the
configuration override to be specified in the machine.conf rather than hardwiring -mno-thumb-interwork into nslu2-kernel.inc
Diffstat (limited to 'conf/machine/nslu2.conf')
-rw-r--r--conf/machine/nslu2.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 83849396b2..136c3187ce 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -17,6 +17,9 @@ IMAGE_ROOTFS_SIZE_ext2.gz = "10240"
# (it would need to be conf/machine/tune-xscale.conf) and
# anyway it sets the package architecture to armeb.
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
+TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
+TARGET_LD_ARCH = ""
+TARGET_LD_KERNEL_ARCH = ""
PACKAGE_ARCH = "armeb"
# Optimization settings. Os works fine and is significantly
@@ -24,8 +27,13 @@ PACKAGE_ARCH = "armeb"
# 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"
+# values are.) The -fno options are an attempt to cancel explicit
+# use of space consuming options found in some packages (this isn't
+# a complete list, this is just the ones which package writers seem
+# to know about and abuse).
+FULL_OPTIMIZATION = "-Os -fomit-frame-pointer -frename-registers \
+ -fno-unroll-loops -fno-inline-functions \
+ -fweb -funit-at-a-time"
# uClibc does not include sinf or cosf, so the gcc auto-use of
# these functions must be disabled (this only occurs with -O)