[yocto] i think the explanation of "Build Directory" in dev manual is wrong

Rifenbark, Scott M scott.m.rifenbark at intel.com
Mon Nov 11 08:33:58 PST 2013


Robert,

I think you are correct here.  I tried them and no intermediate directory is created using the second example and the third example created a build directory whose name is "mybuilds".  I need to fix these up and will do that.

Scott

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Michael Gloff
Sent: Saturday, November 09, 2013 8:13 PM
To: Robert P. J. Day
Cc: Yocto discussion list
Subject: Re: [yocto] i think the explanation of "Build Directory" in dev manual is wrong


The build dir will definitely be created by the script(s) (assuming permissions). The default build dir will be created under the level of the script as 'build', but you can specify any path.

As you point this out I see the sentence:

The TOPDIR<http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-TOPDIR> variable points to the Build Directory.
can be ambiguous. TOPDIR is not well defined. Maybe it should be called BUILD_DIR and defined somewhere in local.conf as a default commented out like DL_DIR and TMPDIR in addition to the ability to specify BUILD_DIR on the command line.
Michael Gloff


On Sat, Nov 9, 2013 at 4:09 AM, Robert P. J. Day <rpjday at crashcourse.ca<mailto:rpjday at crashcourse.ca>> wrote:

  here:

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#yocto-project-terms

explanation of "Build Directory", one reads (start quote):

Provide a directory path and specifically name the build directory.
This next example creates a Build Directory named YP-11.0.0 in your
home directory within the directory mybuilds. If mybuilds does not
exist, the directory is created for you:

     $ source poky-tbd-11.0.0/oe-init-build-env $HOME/mybuilds/YP-11.0.0

Provide an existing directory to use as the Build Directory and use
the default build name.

     $ source poky-tbd-11.0.0/oe-init-build-env $HOME/mybuilds/

 === end quote ===

  i don't think either of those is correct, are they? pretty sure that
oe-init-build-env *doesn't* create intermediate directories and, in
that second example, wouldn't that just use ~/mybuilds as the build
directory? i don't foresee a default build name subdirectory being
created there. or am i just confused?

rday

--

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

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto



--
Michael Gloff

mgloff at emacinc.com<mailto:mgloff at emacinc.com>
http://www.emacinc.com/

Engineer
EMAC, Inc.
618-529-4525 Ext. 310
618-457-0110 Fax
2390 EMAC Way
Carbondale, Il 62901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131111/70b87657/attachment.html>


More information about the yocto mailing list