summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index ef21784b98..aa34b98b51 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -26,7 +26,7 @@ toolchain_create_sdk_env_script () {
26 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script 26 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script
27 echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script 27 echo 'export LDFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script
28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script 28 echo 'export CPPFLAGS="--sysroot=${SDKTARGETSYSROOT}"' >> $script
29 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
30 echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script 30 echo 'export POKY_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script
31 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 31 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
32} 32}
@@ -57,7 +57,7 @@ toolchain_create_tree_env_script () {
57 fi 57 fi
58 echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script 58 echo 'export CFLAGS="${TARGET_CC_ARCH}"' >> $script
59 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script 59 echo 'export CXXFLAGS="${TARGET_CC_ARCH}"' >> $script
60 echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script 60 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script 61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
62} 62}
63 63
@@ -87,7 +87,7 @@ toolchain_create_sdk_env_script_for_installer () {
87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script 87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
88 echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script 88 echo 'export LDFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script
89 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script 89 echo 'export CPPFLAGS="--sysroot=##SDKTARGETSYSROOT##"' >> $script
90 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 90 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
91 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script 91 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
92 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 92 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
93 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 93 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script