[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH] libgcc: Use TARGET_VENDOR_virtclass-multilib for symlink src calculation
From: alexandru.sardan () freescale ! com (alexandru ! sardan at freescale ! com)
Date: 2014-04-30 11:44:16
Message-ID: 7a9e7bbd787948bb90841d78ceee1d88 () DM2PR03MB368 ! namprd03 ! prod ! outlook ! com
[Download RAW message or body]
Ping
> -----Original Message-----
> From: Alexandru-Cezar Sardan [mailto:alexandru.sardan at freescale.com]
> Sent: Wednesday, April 09, 2014 6:01 PM
> To: openembedded-core at lists.openembedded.org
> Cc: Saul Wold; Sardan Alexandru Cezar-B41700
> Subject: [PATCH] libgcc: Use TARGET_VENDOR_virtclass-multilib for symlink
> src calculation
>
> 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
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic