summaryrefslogtreecommitdiff
path: root/conf/machine/include
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-04-13 11:01:10 +0000
committerKoen Kooi <koen@openembedded.org>2008-04-13 11:01:10 +0000
commitfa4b5e9c93edcbe329e4506de69ceae7653e3b50 (patch)
tree944dbf259d94bcd346f4f1d92fd3b99683849ed7 /conf/machine/include
parent93171e2b053216e8b78a55c83abc393b89deeba4 (diff)
tune-xscale: fix up BE/LE confusion in FEED_ARCH
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/tune-xscale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/include/tune-xscale.inc b/conf/machine/include/tune-xscale.inc
index f14aee9aed..d5ef105e97 100644
--- a/conf/machine/include/tune-xscale.inc
+++ b/conf/machine/include/tune-xscale.inc
@@ -1,4 +1,4 @@
-FEED_ARCH = "armv5te"
+FEED_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"