All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: zzs <zzs213@126.com>, <bitbake-devel@lists.openembedded.org>
Subject: Re: howto build specific version package
Date: Tue, 2 Aug 2016 22:56:10 +0800	[thread overview]
Message-ID: <57A0B48A.6000606@windriver.com> (raw)
In-Reply-To: <360daea.d273.1564bad5108.Coremail.zzs213@126.com>

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

>
>
>
>
>


  reply	other threads:[~2016-08-02 14:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 14:34 howto build specific version package zzs
2016-08-02 14:56 ` Robert Yang [this message]
2016-08-03  6:14   ` 张忠山
2016-08-03 15:23     ` Richard Purdie
2016-08-04 11:44       ` Schroeder, Henning
2016-08-05  3:14         ` 张忠山
  -- strict thread matches above, loose matches on Subject: below --
2016-08-02 14:29 zzs
2016-08-05  9:06 ` Gary Thomas
2016-08-05 14:29 ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57A0B48A.6000606@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=zzs213@126.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.