From 55d5355b84eea118487a243e048f92e76ab3bcdf Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 17 Jul 2018 15:50:14 -0700 Subject: sdk-manual: Added section on changing the default ext. SDK install directory (From yocto-docs rev: d3f0c7b9e2ddea3fec6f42fc9a3c8806b02119f3) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../sdk-manual/sdk-appendix-customizing.xml | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'documentation/sdk-manual') diff --git a/documentation/sdk-manual/sdk-appendix-customizing.xml b/documentation/sdk-manual/sdk-appendix-customizing.xml index 718b9d4c19..7224049fa2 100644 --- a/documentation/sdk-manual/sdk-appendix-customizing.xml +++ b/documentation/sdk-manual/sdk-appendix-customizing.xml @@ -260,6 +260,51 @@ +
+ Changing the Default SDK Installation Directory + + + When you build the installer for the Extensible SDK, the default + installation directory for the SDK is based on the + DISTRO + and + SDKEXTPATH + variables from within the + populate_sdk_base + class as follows: + + SDKEXTPATH ??= "~/${@d.getVar('DISTRO')}_sdk" + + You can change this default installation directory by specifically + setting the SDKEXTPATH variable. + + + + While a number of ways exist through which you can set this variable, + the method that makes the most sense is to set the variable in your + distribution's configuration file. + Doing so creates an SDK installer default directory that applies + across your distribution. + As an example, assume you have your own layer for your distribution + named "meta-mydistro" and you are using the same type of file + hierarchy as does the default "poky" distribution. + If so, you could update the SDKEXTPATH variable + in the + ~/meta-mydistro/conf/distro/mydistro.conf file + using the following form: + + SDKEXTPATH = "some_path_for_your_installed_sdk" + + + + + After building your installer, running it prompts the user for + acceptance of the + some_path_for_your_installed_sdk directory + as the default location to install the Extensible SDK. + +
+
Providing Additional Installable Extensible SDK Content -- cgit v1.2.3-54-g00ecf