summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/toolchain-scripts.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index db1d3215ef..67a812cb02 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -8,6 +8,8 @@ TARGET_CC_ARCH_append_libc-musl = " -mmusl"
8# default debug prefix map isn't valid in the SDK 8# default debug prefix map isn't valid in the SDK
9DEBUG_PREFIX_MAP = "" 9DEBUG_PREFIX_MAP = ""
10 10
11EXPORT_SDK_PS1 = "${@ 'export PS1=\'%s\'' % d.getVar('SDK_PS1') if d.getVar('SDK_PS1') else ''}"
12
11# This function creates an environment-setup-script for use in a deployable SDK 13# This function creates an environment-setup-script for use in a deployable SDK
12toolchain_create_sdk_env_script () { 14toolchain_create_sdk_env_script () {
13 # Create environment setup script. Remember that $SDKTARGETSYSROOT should 15 # Create environment setup script. Remember that $SDKTARGETSYSROOT should
@@ -39,6 +41,7 @@ toolchain_create_sdk_env_script () {
39 echo ' return 1' >> $script 41 echo ' return 1' >> $script
40 echo 'fi' >> $script 42 echo 'fi' >> $script
41 43
44 echo "${EXPORT_SDK_PS1}" >> $script
42 echo 'export SDKTARGETSYSROOT='"$sysroot" >> $script 45 echo 'export SDKTARGETSYSROOT='"$sysroot" >> $script
43 EXTRAPATH="" 46 EXTRAPATH=""
44 for i in ${CANADIANEXTRAOS}; do 47 for i in ${CANADIANEXTRAOS}; do