summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-04 14:19:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-09 14:07:43 +0100
commit5d8648b058dda4080c49be8791258a66e8aac0c6 (patch)
tree575595b93806f98fede79f76ee3e2d5871e89600 /meta
parentf574abdf7589b702076f69a30f92a1f08f1eb283 (diff)
downloadpoky-5d8648b058dda4080c49be8791258a66e8aac0c6.tar.gz
toolchain-scripts: export READELF
The readelf binary is prefixed, so export READELF in the SDKs so that the correct readelf binary can be used. This fixes problems with the symbol extractor in Meson with multilib SDKs where readelf can't be found correctly. (From OE-Core rev: 2795e3bfdefc9f48294802ea7301dae1910553dc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/toolchain-scripts.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 1a2ec4f3b2..db1d3215ef 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -90,6 +90,7 @@ toolchain_shared_env_script () {
90 echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script 90 echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script
91 echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script 91 echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script
92 echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script 92 echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script
93 echo 'export READELF=${TARGET_PREFIX}readelf' >> $script
93 echo 'export AR=${TARGET_PREFIX}ar' >> $script 94 echo 'export AR=${TARGET_PREFIX}ar' >> $script
94 echo 'export NM=${TARGET_PREFIX}nm' >> $script 95 echo 'export NM=${TARGET_PREFIX}nm' >> $script
95 echo 'export M4=m4' >> $script 96 echo 'export M4=m4' >> $script