Specifying prior recipe using PREFERRED_VERSION doesn't work in Yocto bitbake?

Viewed 1234

I'm working on Yocto bitbake. I found to specify the recipe using "PREFERRED_VERSION" directive in conf/local.conf, if there are multiple recipes for one component.

I'm using "Rocko", and want to select the version of "1.1.0" of openssl so that I appended the line below to conf/local.conf.

PREFERRED_VERSION_openssl = "1.1.%"

But, it look that it doesn't work and openssl-1.0.2 was built. Does anyone have an idea what is wrong? Thanks.

1 Answers
PREFERRED_VERSION_openssl_forcevariable = "1.1.%"
Related