Maeglin
Maeglin

Reputation: 37

Yocto sumo with RPI3B+ with older Boost

I have updated a meta-layer for an application based on RPI3B to Yocto sumo release. The reason why I am using now RPI3B+ (instead of RPI3B). When doing so, I run into a problem that Boost library 1.66.0 (in sumo) is not compatible with the one i used in previous build 1.64.0.

Is there a way to force Yocto in my configuration to start using boost 1.64.0 instead of the 1.66.0 ?

Upvotes: 0

Views: 327

Answers (1)

lukaszgard
lukaszgard

Reputation: 1011

Yocto allows to choose preferred version of recipe with using - PREFERRED_VERSION, add into config file line:

PREFERRED_VERSION_boost = "1.64.0"

Proof:

$ bitbake -s | grep -e Preferred -e ^boost\\s
Recipe Name                                    Latest Version         Preferred Version
boost                                              :1.67.0-r0                :1.64.0-r0

Upvotes: 1

Related Questions