How do we select which version to use?

Within a specific provider, we can also tell BitBake which version to use with the PREFERRED_VERSION variable. For example, to set a specific linux-fslc version for all i.MX6-based machines, we would add the following to our conf/local.conf file:

PREFERRED_VERSION_linux-fslc_mx6 = "4.9" 

The % wildcard is accepted to match any character, as we see here:

PREFERRED_VERSION_linux-fslc_mx6 = "4.9%" 

This will match any 4.9.x kernel version.

It is, however, more common to see this type of configuration done in machine configuration files, in which case we would not use the _mx6 append.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset