Skip to contentSkip to conversation

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

PATCH Arago Project git 1 participant 1 message Apr 12, 2016

lore
Share & tools
lore
#0 lore raw
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

---

 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
index 4e68116..40a8ea7 100644
@@ -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