Openembedded Core Discussions
 help / color / mirror / Atom feed
* value of "PACKAGE_BEFORE_PN" versus "PACKAGES =+"?
@ 2013-01-02 17:04 Robert P. J. Day
  2013-01-02 18:55 ` Saul Wold
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2013-01-02 17:04 UTC (permalink / raw)
  To: OE Core mailing list



  just now noticed the variable PACKAGE_BEFORE_PN, whose entire
usage in poky (other than documentation) is:

meta/conf/bitbake.conf:PACKAGE_BEFORE_PN ?= ""
meta/conf/bitbake.conf:PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
meta/classes/lib_package.bbclass:PACKAGE_BEFORE_PN = "${PN}-bin"

  is there an actual need for that variable that places the new
package names *precisely* in that location in the PACKAGES list?  and
given the specificity of the initial PN-related packages:

  "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale"

is there any reason more recipes couldn't use PACKAGE_BEFORE_PN
instead of "PACKAGES =+" when defining new packages?  i *realize*
those two things don't represent the same thing but, in many cases,
would the end result be the same?

  is there any reason more code doesn't use "PACKAGE_BEFORE_PN"?

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] 5+ messages in thread

end of thread, other threads:[~2013-01-03 23:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 17:04 value of "PACKAGE_BEFORE_PN" versus "PACKAGES =+"? Robert P. J. Day
2013-01-02 18:55 ` Saul Wold
2013-01-03 11:27   ` Robert P. J. Day
2013-01-03 21:47     ` Paul Eggleton
2013-01-03 23:43       ` Robert P. J. Day

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