summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-02-08 15:52:47 +0000
committerRod Whitby <rod@whitby.id.au>2007-02-08 15:52:47 +0000
commit45802a74a4a83a9523f0423797a1cb1b27345ed8 (patch)
tree6f33a809b3cb5494d578c24d2782b42865c6d0da /conf/distro
parent31d11a69ee54b6fd6bda1ae63f8260f8f2a6649a (diff)
ixp4xx.conf,slugos.inc: Removed ARM_INSTRUCTION_SET and THUMB_INTERWORK, cause they are already set to defaults in tune-thumb.conf. Moved FULL_OPTIMIZATION to slugos.inc cause it's distro policy not inherent to the machine.
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/include/slugos.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
index 13f6bad29c..05bd57139c 100644
--- a/conf/distro/include/slugos.inc
+++ b/conf/distro/include/slugos.inc
@@ -65,6 +65,18 @@ INHERIT += "package_ipk debian"
DISTRO_BASE = ":slugos"
+# FULL_OPTIMIZATION
+# 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.) 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"
+
# packages/meta/slugos-image.bb generates a binary image of the root file system
# with a name controlled by the following setting - it defaults to the top level
# ${DISTRO_NAME} and this should always be correct, but it may be too specific (e.g.