aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-02-28 15:15:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-28 15:15:30 +0000
commit433b85a4d262d30969ec14cf14aee1323da9c0a5 (patch)
tree08115ab8c8de67248e6458ed0cf6aee78ce81a70 /conf
parentc1ec4c9321bf64981a9da192320bdd90a95a0cd3 (diff)
downloadopenembedded-433b85a4d262d30969ec14cf14aee1323da9c0a5.tar.gz
angstrom.conf: use -Os by default, see the comments in the file for more info
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/angstrom.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
index 3ea5e4553d..6503e142da 100644
--- a/conf/distro/angstrom.conf
+++ b/conf/distro/angstrom.conf
@@ -21,6 +21,11 @@ include conf/distro/include/multimachine.conf
#TARGET_OS = "none-linux-gnueabi"
TARGET_OS = "linux"
+#mess with compiler flags to use -Os instead of -O2
+#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+BUILD_OPTIMIZATION = "-Os"
+
PARALLEL_INSTALL_MODULES = "1"
BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version"