summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/toolchain-scripts.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 11ffbe5be0..2244cf71c1 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -76,6 +76,11 @@ toolchain_shared_env_script () {
76 cat >> $script <<EOF 76 cat >> $script <<EOF
77 77
78# Append environment subscripts 78# Append environment subscripts
79if [ -d "\$OECORE_TARGET_SYSROOT/environment-setup.d" ]; then
80 for envfile in \$OECORE_TARGET_SYSROOT/environment-setup.d/*.sh; do
81 source \$envfile
82 done
83fi
79if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then 84if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then
80 for envfile in \$OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh; do 85 for envfile in \$OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh; do
81 source \$envfile 86 source \$envfile