summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-08-03 15:01:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-07 12:13:03 +0100
commit481833a6934461b9a926222fc32c5f654e19da02 (patch)
treef295dc667b7e5f85edf988bed364a762614713e7 /meta/classes/toolchain-scripts.bbclass
parent05f2bf79700b3f745417bc0b27cf636db650928a (diff)
downloadpoky-481833a6934461b9a926222fc32c5f654e19da02.tar.gz
toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment
It's useful for the SDK to know exactly what TARGET_ARCH and TARGET_OS are, specifically for SDK QA. (From OE-Core rev: 0b5f1b0430efac8129bca330370d8818ea93bb39) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-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 63b07c802f..6d1ba69473 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -52,6 +52,9 @@ toolchain_create_sdk_env_script () {
52 echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script 52 echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script
53 echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script 53 echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script
54 echo 'export OECORE_BASELIB="${baselib}"' >> $script 54 echo 'export OECORE_BASELIB="${baselib}"' >> $script
55 echo 'export OECORE_TARGET_ARCH="${TARGET_ARCH}"' >>$script
56 echo 'export OECORE_TARGET_OS="${TARGET_OS}"' >>$script
57
55 echo 'unset command_not_found_handle' >> $script 58 echo 'unset command_not_found_handle' >> $script
56 59
57 toolchain_shared_env_script 60 toolchain_shared_env_script