[OE-core] [PATCH] libgcc: Use TARGET_VENDOR_virtclass-multilib for symlink src calculation
Alexandru-Cezar Sardan
alexandru.sardan at freescale.com
Wed Apr 9 15:01:03 UTC 2014
When defining a symlink for the multilib location based on MULTILIB_VARIANTS,
use TARGET_VENDOR_virtclass-multilib to get the vendor, as hardcoding
the value with TARGET_VENDOR + 'ml' + mlvariant may not corespond with
the actual directory where the libs are installed.
Signed-off-by: Alexandru-Cezar Sardan <alexandru.sardan at freescale.com>
---
meta/recipes-devtools/gcc/libgcc.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 96f1969..eb7a6e8 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -131,8 +131,8 @@ python do_multilib_install() {
if not tune_bitness:
tune_bitness = '32' # /lib => 32bit lib
- src = '../../../' + tune_baselib + '/' + \
- tune_arch + d.getVar('TARGET_VENDOR', True) + 'ml' + ml + \
+ vendor = d.getVar('TARGET_VENDOR_virtclass-multilib' + '-' + ml, True)
+ src = '../../../' + tune_baselib + '/' + tune_arch + vendor + \
'-' + d.getVar('TARGET_OS', True) + '/' + binv + '/'
dest = d.getVar('D', True) + d.getVar('libdir', True) + '/' + \
--
1.7.9.5
More information about the Openembedded-core
mailing list