[OE-core] does a recipe's "recipe-sysroot" automatically get build deps crossscripts?

Robert P. J. Day rpjday at crashcourse.ca
Tue Feb 7 13:44:47 UTC 2017


  ok, last question on this topic, should be an easy one. :-)

i've added the "mod-wsgi" recipe to my build (from meta-openstack
layer), and the mod-wsgi recipe file contains the following:

  DEPENDS += "apache2-native apache2 python"
  RDEPENDS_${PN} = "python"

  EXTRA_OECONF = "\
        --with-apxs=${STAGING_BINDIR_CROSS}/apxs \

it builds fine since, in that recipe's WORKDIR, there is:

  $ ls recipe-sysroot/usr/bin/crossscripts/
  apr-1-config  libtoolize       ncursesw5-config  powerpc-poky-linux-libtool
  apu-1-config  ncurses5-config  ncursesw6-config
  apxs          ncurses6-config  pcre-config

which means it can clearly find the crossscript "apxs" referred to by:

  --with-apxs=${STAGING_BINDIR_CROSS}/apxs

as for everything else in that recipe's $(STAGING_BINDIR_CROSS}
directory, can i assume that any recipe will get installed in its
STAGING_BINDIR_CROSS directory the collection of everything under
usr/bin/crossscripts in all the build-time dependencies of that
recipe?

  it *seems* like that's a fairly simple assumption, just want to know
if it's correct.

rday

-- 

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

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




More information about the Openembedded-core mailing list