Denys Dmytriyenko : iqn2-lld: fix -march gcc flag, as cortex-a15 belongs to armv7ve
Module: meta-ti Branch: master Commit: 032995ed34a2632ad8cff15871870a74058c9eed URL: http://arago-project.org/git/meta-ti.git?a=commit;h=032995ed34a2632ad8cff15871870a74058c9eed
Author: Denys Dmytriyenko <[email protected]> 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 <[email protected]>
---
recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
recipes-bsp/iqn2-lld/iqn2-lld_git.bb +4 -0
@@ -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