Skip to contentSkip to conversation

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

PATCH In review Denys Dmytriyenko 2 participants 2 messages Apr 12, 2016 – Apr 13, 2016

lore
Share & tools
lore
#0 lore raw

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

From: Denys Dmytriyenko <[email protected]>

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

---
 recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
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
Signature · 1 line
2.2.0
#1 lore raw

recipes-bsp/iqn2-lld/

Quoted 11 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

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

---
 recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-bsp/iqn2-lld/ renamed from recipes-bsp/iqn2-lld/iqn2-lld_git.bb +0 -0

iqn2-lld_git.bb

recipes-bsp/iqn2-lld/iqn2-lld_git.bb PR = "${INC_PR}.0" · line 12

Quoted 9 lines

index 4e68116..40a8ea7 100644

recipes-bsp/iqn2-lld/iqn2-lld_git.bb +2 -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

recipes-bsp/iqn2-lld/iqn2-lld_git.bb PR = "${INC_PR}.0" · line 14

Quoted 2 lines
recipes-bsp/iqn2-lld/iqn2-lld_git.bb +2 -0
+}
+

Is this recipe cortexa15 only recipe ?

Quoted 11 lines
recipes-bsp/iqn2-lld/iqn2-lld_git.bb +0 -1
 do_compile () {
        oe_runmake clean
        oe_runmake lib
--

2.2.0

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti