From 293183961e3cf91bb7fd7995e8b1877d961f8d7b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 21 Jun 2018 11:37:29 -0700 Subject: sdk-manual: Updates to "Building an SDK Installer" section. Updated some links. Also, rewrote the note about the libraries. It was inaccurate. (From yocto-docs rev: a0fce0ed36f3d0668e2d211433e7d93fb8833319) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-appendix-obtain.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'documentation/sdk-manual') diff --git a/documentation/sdk-manual/sdk-appendix-obtain.xml b/documentation/sdk-manual/sdk-appendix-obtain.xml index ee250de49f..3528c00585 100644 --- a/documentation/sdk-manual/sdk-appendix-obtain.xml +++ b/documentation/sdk-manual/sdk-appendix-obtain.xml @@ -98,7 +98,7 @@ Building an SDK Installer - As an alternative to locating and downloading a SDK installer, + As an alternative to locating and downloading an SDK installer, you can build the SDK installer. Follow these steps: @@ -139,8 +139,7 @@ Among other things, the script creates the Build Directory, which is build in this case - and is located in the - Source Directory. + and is located in the Source Directory. After the script runs, your current working directory is set to the build directory. @@ -149,14 +148,14 @@ Check to be sure that your MACHINE variable in the local.conf file in your - Build Directory - matches the architecture for which you are building. + Build Directory matches the architecture for which you are + building. Make Sure Your SDK Machine is Correctly Set: If you are building a toolchain designed to run on an architecture that differs from your current development host - machine (i.e. the build machine), be sure that the + machine (i.e. the build host), be sure that the SDKMACHINE variable in the local.conf file in your Build Directory is correctly set. @@ -175,7 +174,7 @@ $ bitbake image -c populate_sdk_ext - These commands result in a SDK installer that contains the + These commands produce an SDK installer that contains the sysroot that matches your target root filesystem. When the bitbake command completes, @@ -184,16 +183,18 @@ Notes - By default, this toolchain does not build static - binaries. + By default, the previous BitBake command does not + build static binaries. If you want to use the toolchain to build these types of libraries, you need to be sure your SDK has the appropriate static development libraries. Use the TOOLCHAIN_TARGET_TASK variable inside your local.conf - file to install the appropriate library packages - in the SDK. + file before building the SDK installer. + Doing so ensures that the eventual SDK installation + process installs the appropriate library packages + as part of the SDK. Following is an example using libc static development libraries: -- cgit v1.2.3-54-g00ecf