All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: kernel versions
Date: Mon, 21 Feb 2011 11:31:10 -0700	[thread overview]
Message-ID: <4D62AF6E.4020304@mlbassoc.com> (raw)
In-Reply-To: <1298310097.11289.3185.camel@rex>

On 02/21/2011 10:41 AM, Richard Purdie wrote:
> On Mon, 2011-02-21 at 08:52 -0700, Gary Thomas wrote:
>> I have my own kernel recipes (historical reasons...) which I
>> now have 2 versions of.  Some platforms have not yet been
>> ported to the latest version and I need to keep using the
>> older one for those platforms until the porting is complete.
>>
>> Sadly, I can't get this to work.
>>
>> Here's what I have
>>     $ tree meta-amltd/packages/linux/
>>       meta-amltd/packages/linux/
>>       ├── linux-am_2.6.32.bb
>>       ├── linux-am_2.6.37.bb
>>
>>     $ tree meta-cobra3530p60/packages/linux/
>>       meta-cobra3530p60/packages/linux/
>>       ├── linux-am-2.6.32
>>       │   └── cobra3530p60
>>       │       ├── cobra3530p60.patch
>>       │       └── defconfig
>>       ├── linux-am_2.6.32.bbappend
>>
>> I tried these settings in my machine/cobra3530p60
>>     PREFERRED_PROVIDER_virtual/kernel = "linux-am"
>>     PREFERRED_VERSION_virtual/kernel = "2.6.32"
>>
>> However, it still wants to build version 2.6.37
>>
>> What am I missing?  How can I force it to use the 2.6.32 version
>> for this machine?
>
> PREFERRED_VERSION_linux-am = "2.6.32"

That does seem to work, but only if I put it in the <MACHINE>.conf
file, not local.conf.

Why specify it one way (PREFERRED_PROVIDER_virtual/kernel) for the provider
(recipe basis) and then a different way (PREFERRED_VERSION_linux-am) for
the actual version?

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


  reply	other threads:[~2011-02-21 18:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 15:52 kernel versions Gary Thomas
2011-02-21 15:59 ` Gary Thomas
2011-02-21 17:41 ` Richard Purdie
2011-02-21 18:31   ` Gary Thomas [this message]
2011-02-21 23:16     ` Richard Purdie
2011-02-23 15:20       ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2017-03-08 20:52 Tobin C. Harding
2017-03-09 23:48 ` Daniel Axtens
2009-04-02  8:19 Kernel versions Tomasz Chmielewski
2009-04-02  7:16 Dragoslav Zaric
2004-07-02 13:11 linuxppc
2004-07-02 14:29 ` Giuliano Pochini
2004-07-02 14:54   ` Wolfgang Denk
2004-07-02 15:37     ` Giuliano Pochini
2004-07-02 15:56     ` Gary Thomas
2004-07-06 15:08       ` Benjamin Herrenschmidt
2004-08-13 16:59         ` David Woodhouse
2003-10-02 12:17 Queston about Walnut Wolfgang Denk
2003-10-03  1:18 ` Jacky Lam
     [not found]   ` <3F7D3238.2090400@bluewin.ch>
     [not found]     ` <20031003151729.GC21468@ip68-0-152-218.tc.ph.cox.net>
2003-10-03 23:36       ` Kernel versions Gary Thomas
2003-10-07 13:37         ` Tom Rini

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=4D62AF6E.4020304@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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.