Openembedded Core Discussions
 help / color / mirror / Atom feed
* what is meaning of "SRC_URI_append_whatever +=" ??
@ 2012-03-21 10:22 Robert P. J. Day
  2012-03-21 10:28 ` Robert P. J. Day
  0 siblings, 1 reply; 10+ messages in thread
From: Robert P. J. Day @ 2012-03-21 10:22 UTC (permalink / raw)
  To: OE Core mailing list


  still perusing the very basics of oe-core and grepping madly, came
across the following oddity:

$ grep -r SRC_URI_append *
... snip ...
bitbake/doc/manual/usermanual.xml:SRC_URI_append_1.0.7+ = "file://some_patch_which_the_new_versions_need.patch;patch=1"</screen></para>
meta/recipes-support/gmp/gmp_5.0.4.bb:SRC_URI_append += "file://use-includedir.patch \
meta/recipes-support/libcroco/libcroco_0.6.3.bb:SRC_URI_append = " file://croco.patch;apply=yes "
... snip ...

  AIUI, there are two (common) variations for extending SRC_URI.  the
straightforward unconditional way:

  SRC_URI += ... blah blah ...

or if you need to make it conditional, then there's

  SRC_URI_append_thingy = "whatever"

so what's with the latter two entries above?

meta/recipes-support/gmp/gmp_5.0.4.bb:SRC_URI_append += "file://use-includedir.patch \
meta/recipes-support/libcroco/libcroco_0.6.3.bb:SRC_URI_append = " file://croco.patch;apply=yes "

  is there some subtlety i'm missing here?  why would one ever use
either of:

  SRC_URI_append += "..."               (looks redundant)
  SRC_URI_append = "..."                (why not just SRC_URI +=?)

can i just assume those are typoes?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-21 15:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 10:22 what is meaning of "SRC_URI_append_whatever +=" ?? Robert P. J. Day
2012-03-21 10:28 ` Robert P. J. Day
2012-03-21 10:46   ` Koen Kooi
2012-03-21 10:51     ` Graeme Gregory
2012-03-21 11:25       ` Robert P. J. Day
2012-03-21 12:08       ` Richard Purdie
2012-03-21 14:03       ` Chris Larson
2012-03-21 15:05         ` Robert P. J. Day
2012-03-21 11:11   ` Phil Blundell
2012-03-21 12:11     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox