From 2c0c962dd94513d7bbdf93439613ae926aca1d23 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 15 Aug 2017 15:11:31 -0700 Subject: sdk-manual: Updated steps to build an SDK installer The steps needed updated to reflect the introduction of CROPS as a way to prepare a build host. (From yocto-docs rev: 8f52372afad4c32d0b895a88c2298625e7f53da3) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-obtain.xml | 47 ++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/sdk-manual/sdk-appendix-obtain.xml b/documentation/sdk-manual/sdk-appendix-obtain.xml index 0bb5dd2497..eb57938a42 100644 --- a/documentation/sdk-manual/sdk-appendix-obtain.xml +++ b/documentation/sdk-manual/sdk-appendix-obtain.xml @@ -105,9 +105,50 @@ Set Up the Build Environment: Be sure you are set up to use BitBake in a shell. See the - "Building Images" - section in the Yocto Project Quick Start for steps that - show you how to set up the Yocto Project environment. + "Setting Up the Development Host to Use the Yocto Project" + section in the Yocto Project Development Manual for information + on how to get a build host ready that is either a native + Linux machine or a machine that uses CROPS. + + + Clone the poky Repository: + You need to have a local copy of the Yocto Project + Source Directory + (i.e. a local poky repository). + See the + "Cloning the poky Repository" + and possibly the + "Checking Out by Branch in Poky" + and + "Checking Out by Tag in Poky" + sections all in the Yocto Project Development Manual for + information on how to clone the poky + repository and check out the appropriate branch for your work. + + + Initialize the Build Environment: + While in the root directory of the Source Directory (i.e. + poky), run the + &OE_INIT_FILE; + environment setup script to define the OpenEmbedded + build environment on your build host. + + $ source &OE_INIT_FILE; + + Among other things, the script creates the + Build Directory, + which is build in this case + and is located in the + Source Directory. + After the script runs, your current working directory + is set to the build directory. + + For information on running a memory-resident + BitBake, + see the + oe-init-build-env-memres + setup script. + Make Sure You Are Building an Installer for the Correct Machine: -- cgit v1.2.3-54-g00ecf