All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martyn Welch <martyn.welch@gefanuc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: linux recipe selected despite ASSUME_PROVIDED +=	"virtual/kernel"
Date: Mon, 27 Jul 2009 11:45:18 +0100	[thread overview]
Message-ID: <4A6D853E.3020008@gefanuc.com> (raw)
In-Reply-To: <4A6D5C5A.2010003@gmail.com>

Graham Gower wrote:
> Hi,
> I wish to build an Angstrom based console-image for mipsel from the
> org.openembedded.dev branch. I maintain a kernel for the device but am
> not yet ready to integrate this into an OE recipe. The default 
> linux_2.6.30.bb
> fails to build for me, thus I wish to not build the kernel at this point
> in time.
>
> My local.conf contains the following lines,
> STAGING_KERNEL_DIR = "/home/grg/jz/linux"
> ASSUME_PROVIDED += "virtual/kernel"
>
> However, when i run 'bitbake console-image the default linux_2.6.30.bb 
> recipe
> is still selected and the build procedes to fail.
>
> Is this the correct procedure to avoid building a kernel? If so, what 
> else
> could I be doing wrongly?

I tend to create a bitbake recipe to build my kernel and put it in an 
overlay, otherwise known as a collection[1] and setting the 
"DEFAULT_PREFERENCE"[2] to a large positive number to cause the build to 
prefer that kernel. That way it's building your kernel, but it's not yet 
in the org.openembedded.dev branch.

Martyn

[1] 
http://docs.openembedded.org/usermanual/usermanual.html#special_bitbake_collections
[2] 
http://docs.openembedded.org/usermanual/usermanual.html#recipes_defaultpreference

-- 
Martyn Welch MEng MPhil MIET (Principal Software Engineer)   T:+44(0)1327322748
GE Fanuc Intelligent Platforms Ltd,        |Registered in England and Wales
Tove Valley Business Park, Towcester,      |(3828642) at 100 Barbirolli Square,
Northants, NN12 6PF, UK T:+44(0)1327359444 |Manchester,M2 3AB  VAT:GB 927559189



      parent reply	other threads:[~2009-07-27 10:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27  7:50 linux recipe selected despite ASSUME_PROVIDED += "virtual/kernel" Graham Gower
2009-07-27  8:46 ` Patrick Bellasi
2009-07-27 10:06   ` Graham Gower
2009-07-27 11:34   ` Koen Kooi
2009-07-27 10:45 ` Martyn Welch [this message]

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=4A6D853E.3020008@gefanuc.com \
    --to=martyn.welch@gefanuc.com \
    --cc=openembedded-devel@lists.openembedded.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.