[meta-ti] [PATCH] iqn2-lld: fix -march gcc flag, as cortex-a15 belongs to armv7ve
Denys Dmytriyenko
denis at denix.org
Tue Apr 12 16:08:49 PDT 2016
From: Denys Dmytriyenko <denys at ti.com>
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 file changed, 4 insertions(+)
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
--
2.2.0
More information about the meta-ti
mailing list