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

Michael Gloff mgloff at emacinc.com
Sat Nov 9 20:13:20 PST 2013


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>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
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
Michael Gloff

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/20131109/6814701e/attachment.html>


More information about the yocto mailing list