All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Beckerus <hans.beckerus@gmail.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Question about DEPENDS and eg. DEPENDS_class-native
Date: Thu, 26 Sep 2013 19:10:23 +0200	[thread overview]
Message-ID: <52446A7F.4080005@gmail.com> (raw)
In-Reply-To: <CAFyqS9oDjhiKNr3gPYtNmgkqfC82J-OiG1hX4TG3L3AqbjABCA@mail.gmail.com>

On 2013-09-26 2:41, Hans Beckérus wrote:
> Hi. Browsing through the existing recipes really did not answer this
> since I have no clue what was the initial intent.
> So my quick question is if a .inc file has a DEPENDS = "foo" and a
> recipe that includes it has DEPENDS_class-native = "fee", will the
> resulting depend be merged from the two or will DEPENDS_class-native
> completely override DEPENDS? If it overrides, is the correct way to
> merge them to do DEPENDS_append_class-native = "fee"?
Ok, this one I managed to figure out by doing some trial and error.
What I have learned from that exercise is that if you wish to extend DEPENDS specifically you need to do DEPENDS_append_class-native = " <pkg>"
Doing DEPENDS_class-native = "<pkg> will override DEPENDS completely for native builds. Please correct me if I am wrong.

> Thanks.
> Hans



      reply	other threads:[~2013-09-26 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 12:41 Question about DEPENDS and eg. DEPENDS_class-native Hans Beckérus
2013-09-26 17:10 ` Hans Beckerus [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=52446A7F.4080005@gmail.com \
    --to=hans.beckerus@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.