[OE-core] [PATCH 1/2] bitbake: Allow seting of baselib

Richard Purdie richard.purdie at linuxfoundation.org
Thu Aug 4 14:16:36 UTC 2011


On Thu, 2011-08-04 at 02:28 -0500, Kumar Gala wrote:
> Allow for baselib to be set to something other than 'lib'.  This is useful
> for the 64-bit arch cases in which we want baselib set to 'lib64'.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  meta/conf/bitbake.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 6f0b42c..c50ffb9 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -7,7 +7,7 @@
>  #
>  
>  # Used by multilib code to change the library paths
> -baselib = "lib"
> +baselib = "${@d.getVar('BASE_LIB', True) or 'lib'}"
>  
>  # Path prefixes
>  export base_prefix = ""

Can you not do:

baselib_powerpc64 = "lib64"

here?

Cheers,

Richard





More information about the Openembedded-core mailing list