Skip to contentSkip to conversation

boost.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5

PATCH In review Andre McCurdy 2 participants 2 messages Feb 25, 2016 – Mar 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boost.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5

The original over-ride dates back to 2009:

http://git.openembedded.org/openembedded-core/commit/?id=43e94412c45b4b79485a64010c76d89b245bb235

There are no obvious issues seen now when building boost in thumb2 for Cortex A15.

---
 meta/recipes-support/boost/boost.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/boost/boost.inc +2 -1
index 981e6ee..79c4e63 100644
@@ -2,7 +2,8 @@ SUMMARY = "Free peer-reviewed portable C++ source libraries"
 SECTION = "libs"
 DEPENDS = "bjam-native zlib bzip2"
 
-ARM_INSTRUCTION_SET = "arm"
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
 
 BOOST_LIBS = "\
 	atomic \
Signature · 1 line
1.9.1
#1 lore raw
Quoted 7 lines · Andre McCurdy

The original over-ride dates back to 2009:

  http://git.openembedded.org/openembedded-core/commit/?id=43e94412c4
5b4b79485a64010c76d89b245bb235

There are no obvious issues seen now when building boost in thumb2 for Cortex A15.

Conceptually, this patch has the same armv6 problem as the glib-2.0 one I mentioned earlier.  But actually, boost seems to compile just fine as Thumb-1 for armv5te, so I suspect that in this case the override is just plain obsolete and could safely be deleted altogether.

p.