[meta-ti] Denys Dmytriyenko : iqn2-lld: fix -march gcc flag, as cortex-a15 belongs to armv7ve

Arago Project git git at arago-project.org
Tue Apr 12 16:10:02 PDT 2016


Module: meta-ti
Branch: master
Commit: 032995ed34a2632ad8cff15871870a74058c9eed
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=032995ed34a2632ad8cff15871870a74058c9eed

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Wed Apr 13 05:08:49 2016 +0000

iqn2-lld: fix -march gcc flag, as cortex-a15 belongs to armv7ve

https://gcc.gnu.org/ml/gcc-cvs/2014-01/msg00982.html

Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-bsp/iqn2-lld/iqn2-lld_git.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
index 4e68116..40a8ea7 100644
--- a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
+++ b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
@@ -8,6 +8,10 @@ PR = "${INC_PR}.0"
 
 EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
 
+do_configure () {
+	sed -i -e 's/march=armv7-a/march=armv7ve/' build/armv7/libiqn2_aearmv7.mk
+}
+
 do_compile () {
 	oe_runmake clean
 	oe_runmake lib



More information about the meta-ti mailing list