[bitbake-devel] howto build specific version package

Gary Thomas gary at mlbassoc.com
Fri Aug 5 09:06:16 UTC 2016


On 2016-08-02 16:29, zzs wrote:
> Hello, everyone
>
> I have two version .bb recipe, sya test_1.0.bb and test_2.0.bb.
> When build the `test` package  using the flowwing cmd:
>     bitbake test
> Always 2.0 was built.
> My question is: how to let bitbake to build version 1.0 of the test package
>

Put this line in your in local.conf:

PREFERRED_VERSION_test = "1.0"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the bitbake-devel mailing list