All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: varun bhatnagar <varun292006@gmail.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Yocto Layers not getting recognized by bitbake
Date: Tue, 25 Jun 2013 12:13:18 -0700	[thread overview]
Message-ID: <51C9EBCE.40501@linux.intel.com> (raw)
In-Reply-To: <CAGxOggFQL2ehH4XBGD+L9k773hgJu5hx61rmnUqxCn033W9GXA@mail.gmail.com>

On 06/25/2013 12:04 PM, varun bhatnagar wrote:
> Thanks a ton for the reply Paul.... :)
> But how to clone the meta-openembedded repository. I am not very clear
> on the suggestion given by you.  :(
> Can you please provide some steps on how to do this (cloning
> open-embedded repository).
>
Paul is suggesting that you use the git tools to clone the repo.

you can get man pages for git, but the summary is:

git clone git://git.openembedded.org/meta-openembedded

in the poky directory, this will bring everything you need.

Sau!

> //
> Varun
>
>
> On Tue, Jun 25, 2013 at 4:16 PM, Paul Eggleton
> <paul.eggleton@linux.intel.com <mailto:paul.eggleton@linux.intel.com>>
> wrote:
>
>     On Sunday 23 June 2013 00:34:17 varun bhatnagar wrote:
>      > I am trying to compile my code using yocto. For that I have
>     created two
>      > layers: "meta-networking" and "meta-oe". I have added these
>     dependencies in
>      > bblayer.conf too. But these are not getting build. Can anyone
>     please tell
>      > me what should I do to make this work.
>      >
>      > //
>      > Varun
>      >
>      > ----------
>      > From: *Gary Thomas* <gary@mlbassoc.com <mailto:gary@mlbassoc.com>>
>      > Date: Mon, Jun 17, 2013 at 11:03 PM
>      > To: yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>      >
>      >
>      > More details are needed to be able to help.
>      >
>      > What do you mean "not getting built"?  Do you mean that if you
>      > try to build recipe XYZ which is in one of those layers that it's
>      > not being built?  Or perhaps you mean something else?
>      >
>      > What do you mean "created two layers: ..."?  Did you just extract
>      > these from meta-openembedded?  or something else?
>      >
>      > > I am building one of my application using yocto by giving
>     bitbake -k
>      > > core-image-minimal command but I am facing some errors as this
>     application
>      > > requires two libraries
>      > > *1) net-snmp*
>      > > *2) fuse*
>      > > *
>      > >
>      > > *
>      > > I have one link where in they are asking to add these two
>     libraries in the
>      > > form of layers and then execute bitbake -k core-image-minimal
>     command.
>      > >
>      > > I am pasting one screenshot below:
>      > >
>      > > As you can I have added two layers meta-networking (contains
>     net-snmp) and
>      > > meta-oe(contains fuse). After this I added these layers in
>      > > *build/conf/bblayer.conf.*
>      > > *
>      > > *
>      > > *
>      > >
>      > > *
>      > > After this I again executed bitbake -k core-image-minimal
>     command but I
>      > > faced the same error as before... :(
>      > > Is there anyway that these layers get recognized? Do I need to
>     execute
>      > > some other command?
>      >
>      > Obviously, this is a recipe that you made.
>      >
>      > Does it show these dependencies?  e.g. a line like this in your
>     recipe file:
>      > DEPENDS = "net-snmp fuse"
>      > (or whatever the *packages* that you need are)
>      >
>      > Bitbake can't read your mind; it will only build the recipes you
>     ask and the
>      > dependencies which are explicitly specified in that build chain.
>      >
>      > If you still have trouble, try sending your recipe (.bb file and
>     all other
>      > components you might have), bblayers.conf, etc to the list
>     because we're not
>      > mind readers either :-)
>      >
>      > > On Tue, Jun 18, 2013 at 2:32 AM, Sudhangathan B S
>      > > <sudhangathan@gmail.com <mailto:sudhangathan@gmail.com><mailto:>
>      > > sudhangathan@gmail.com <mailto:sudhangathan@gmail.com>**>> wrote:
>      > >     Can you please paste your command and it's output here..!
>     If you don't
>      > >
>      > > mind..!! Or explain with equivalent clarity. It
>      > >
>      > >     l will good if you can also put in your directory structure.
>      > >
>      > >     ------------------------------**---
>      > >     Sudhangathan BS
>      > >     Ph:(+91) 9731-905-205
>      > >     ------------------------------**---
>      > >
>      > >
>      > >     On Mon, Jun 17, 2013 at 11:33 PM, varun bhatnagar <
>      > >
>      > > varun292006@gmail.com <mailto:varun292006@gmail.com>
>     <mailto:varun292006@gmail.com <mailto:varun292006@gmail.com>>**> wrote:
>      > >         Actually the package which I am building is having some
>      > >
>      > > dependencies on some libraries. So I provided those libraries
>     with the
>      > > help of creating layers. I did not extract those from
>     meta-openembedded,
>      > > instead, I manually created two layers and added them in
>     bblayer.conf file.
>
>     Rather than creating these layers from scratch (which I think is the
>     most
>     likely source of the problem) I'd suggest starting by cloning the
>     original
>     meta-openembedded repository and building your recipe with the
>     meta-networking
>     and meta-oe layers enabled in your bblayers.conf file.
>
>     Cheers,
>     Paul
>
>     --
>
>     Paul Eggleton
>     Intel Open Source Technology Centre
>
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


  reply	other threads:[~2013-06-25 19:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 17:08 Yocto Layers not getting recognized by bitbake varun bhatnagar
2013-06-17 17:33 ` Gary Thomas
2013-06-17 18:03   ` varun bhatnagar
2013-06-17 21:02     ` Sudhangathan B S
2013-06-18 16:28       ` varun bhatnagar
2013-06-18 16:41         ` Gary Thomas
2013-06-19 16:10           ` varun bhatnagar
2013-06-22 19:04             ` varun bhatnagar
2013-06-25 10:46               ` Paul Eggleton
2013-06-25 19:04                 ` varun bhatnagar
2013-06-25 19:13                   ` Saul Wold [this message]
2013-06-27 17:58                     ` varun bhatnagar
2013-06-27 20:25                       ` Paul Eggleton
2013-06-29 18:35                         ` varun bhatnagar
2013-07-01  9:48                           ` Paul Eggleton
2013-07-12 18:23                             ` varun bhatnagar

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=51C9EBCE.40501@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=varun292006@gmail.com \
    --cc=yocto@yoctoproject.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.