summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-02-28 17:28:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-28 17:28:37 +0000
commit83105ad9e6045639a7c4a4a95f78dd8685588baf (patch)
tree3b7a5d87e6f9ade67dca3f300beb600945a2c834 /conf
parentb15cadafceaf782b2b8ed2ff55a8ed47b2ade1c8 (diff)
parent4ae975af982f97abf3a8a3b5a6bcb11f27ffab8e (diff)
merge of 006bbeb2da2090839ec05cdbd7cd825c900ac850
and f144cf893311c20cf43f68a99c982431aa75861f
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/angstrom.conf5
-rw-r--r--conf/machine/ipaq-pxa270.conf3
2 files changed, 8 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"
diff --git a/conf/machine/ipaq-pxa270.conf b/conf/machine/ipaq-pxa270.conf
index f37d7fa642..c6f4804d5f 100644
--- a/conf/machine/ipaq-pxa270.conf
+++ b/conf/machine/ipaq-pxa270.conf
@@ -40,6 +40,9 @@ GPE_EXTRA_INSTALL += "gaim"
# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
include conf/machine/include/tune-xscale.conf
+# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
+#include conf/machine/include/tune-iwmmxt.conf
+
BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${HX4700_MODULES}', d)}"
HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \
hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power"