From 933efe0f1cc231e00608f05c76d54d4a0850b5a9 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 21 May 2018 09:08:59 -0700 Subject: sdk-manual: Edits to section on running the sdk installation script I changed the way we handle the list of exported variables resulting from running the *.sh installation script. Rather than list them all out (they were getting to be quite numerous), I am referencing a few as examples and recommending the user look at the actual *.sh file if they would like to examine the entire list. (From yocto-docs rev: ce2c1491f4f0991cad5f8d4a220a102adb024624) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/sdk-manual/sdk-extensible.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/documentation/sdk-manual/sdk-extensible.xml b/documentation/sdk-manual/sdk-extensible.xml index de0e7a7379..f23ecc8043 100644 --- a/documentation/sdk-manual/sdk-extensible.xml +++ b/documentation/sdk-manual/sdk-extensible.xml @@ -205,10 +205,11 @@ SDK environment now set up; additionally you may now run devtool to perform development tasks. Run devtool --help for further details. + + ARCH - missing this one. It gets set in meta/recipes-devtools/python/python3-native_3.5.5.bb (ARCH=${TARGET_ARCH}) AS - The minimal command and arguments to run the assembler CC - The minimal command and arguments to run the C compiler CFLAGS - Suggested C flags @@ -220,27 +221,35 @@ CXXFLAGS - Suggested C++ flags DEPLOY_DIR_IMAGE GDB - The minimal command and arguments to run the GNU Debugger - + KCFLAGS - missing this one. It appears once in meta/classes/toolchain-scripts.bbclass LD - The minimal command and arguments to run the linker LDFLAGS - Suggested linker flags when you use CC to link - + M4 - missing this one. It appears once in meta/recipes-devtools/flex/flex_2.6.0.bb NM - The minimal command and arguments to run 'nm' OBJCOPY - The minimal command and arguments to run 'objcopy' OBJDUMP - The minimal command and arguments to run 'objdump' - + OECORE_TARGET_SYSROOT - missing this one. It appears in meta/classes/toolchain-scripts.bbclass PATH - The Linux variable that specifies the set of directories where executable programs are located. PKG_CONFIG_PATH - The path to the target pkg-config files - + PKG_CONFIG_SYSROOT_DIR - missing this one. It appears in meta/classes/cross-canadian.bbclass:export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" RANLIB - The minimal command and arguments to run 'ranlib' SDKTARGETSYSROOT - The path to the sysroot used for cross-compilation STRIP - The minimal command and arguments to run strip, which is used to strip symbols. TARGET_PREFIX - The toolchain binary prefix for the target tools +--> + Running the setup script defines many environment variables needed in + order to use the SDK (e.g. PATH, + CC, + LD, + and so forth). + If you want to see all the environment variables the script exports, + examine the installation file itself. -- cgit v1.2.3-54-g00ecf