[bitbake-devel] howto build specific version package

Robert Yang liezhi.yang at windriver.com
Tue Aug 2 14:56:10 UTC 2016


Hi,

On 08/02/2016 10:34 PM, 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

You can:
1) PREFERRED_VERSION_test = "1.0" in conf file such as local.conf
Or:
2) Set DEFAULT_PREFERENCE = "-1" in test_2.0.bb.

// Robert

>
>
>
>
>



More information about the bitbake-devel mailing list