summaryrefslogtreecommitdiff
path: root/conf/machine/include/tune-ep9312.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2009-05-16 21:23:14 +0200
committerMarcin Juszkiewicz <hrw@openembedded.org>2009-06-02 11:57:01 +0200
commit66db3b8e788e2661cf6ab9951766f9211d4c0deb (patch)
tree033fefc5ca3c6676e795750fc43661ffe6c06930 /conf/machine/include/tune-ep9312.inc
parent585a370dd68f46c948d0eed29b2ec8cb7e8d4ad8 (diff)
tune-ep3912: optimize with -O not -O2
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Tom Rini <trini@embeddedalley.com>
Diffstat (limited to 'conf/machine/include/tune-ep9312.inc')
-rw-r--r--conf/machine/include/tune-ep9312.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/conf/machine/include/tune-ep9312.inc b/conf/machine/include/tune-ep9312.inc
index 3f89b677e6..c8770e0783 100644
--- a/conf/machine/include/tune-ep9312.inc
+++ b/conf/machine/include/tune-ep9312.inc
@@ -1,10 +1,14 @@
-TARGET_CC_ARCH = "-mcpu=ep9312 -mfpu=maverick -mfloat-abi=softfp -fno-signed-zeros -O"
+TARGET_CC_ARCH = "-mcpu=ep9312 -mfpu=maverick -mfloat-abi=softfp"
#set arch to ep9312 for all generated packages
-PACKAGE_EXTRA_ARCHS += "armv4t"
+PACKAGE_EXTRA_ARCHS += "armv4t ep9312"
BASE_PACKAGE_ARCH = "ep9312"
FEED_ARCH = "ep9312"
# Include tune file for thumb support, it defaults to off so DISTROs can turn it on if they wish
require conf/machine/include/tune-thumb.inc
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O -fno-signed-zeros"
+DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g"
+SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"
+BUILD_OPTIMIZATION = "-O"