From 4cab968da8bda8d1bdc231417b3c8c9c9396ec10 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 11 Nov 2013 08:55:53 -0800 Subject: [PATCH] dev-manual: Updated Build Directory term The examples went stale. Two out of three did not work. I have provided new examples that work. Reporte-by: Robert P. J. Day (From yocto-docs rev: ae50d3ee3c244b2c864d80adf69a7a69fb6e3985) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-newbie.xml | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/documentation/dev-manual/dev-manual-newbie.xml b/documentation/dev-manual/dev-manual-newbie.xml index cbb815a7f5..2625a44f2c 100644 --- a/documentation/dev-manual/dev-manual-newbie.xml +++ b/documentation/dev-manual/dev-manual-newbie.xml @@ -514,27 +514,40 @@ The TOPDIR variable points to the Build Directory. - You have a lot of flexibility when creating the Build Directory. - Following are some examples that show how to create the directory: + + You have a lot of flexibility when creating the Build + Directory. + Following are some examples that show how to create the + directory. + The examples assume your + Source Directory is + named poky: - Create the Build Directory in your current working directory - and name it build. - This is the default behavior. + Create the Build Directory inside your + Source Directory and let the name of the Build + Directory default to build: - $ source &OE_INIT_PATH; + $ cd $HOME/poky + $ source &OE_INIT_FILE; - Provide a directory path and specifically name the build - directory. - This next example creates a Build Directory named YP-&POKYVERSION; - in your home directory within the directory mybuilds. - If mybuilds does not exist, the directory is created for you: + Create the Build Directory inside your + home directory and specifically name it + test-builds: - $ source &OE_INIT_PATH; $HOME/mybuilds/YP-&POKYVERSION; + $ cd $HOME + $ source poky/&OE_INIT_FILE; test-builds - Provide an existing directory to use as the Build Directory - and use the default build name. + Provide a directory path and + specifically name the build directory. + Any intermediate folders in the pathname must + exist. + This next example creates a Build Directory named + YP-&POKYVERSION; + in your home directory within the existing + directory mybuilds: - $ source &OE_INIT_PATH; $HOME/mybuilds/ + $cd $HOME + $ source $HOME/poky/&OE_INIT_FILE; $HOME/mybuilds/YP-&POKYVERSION;