All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] bitbake: Allow seting of baselib
@ 2011-08-04  7:28 Kumar Gala
  2011-08-04  7:28 ` [PATCH 2/2] arch-powerpc64: set BASE_LIB to 'lib64' Kumar Gala
  2011-08-04 14:16 ` [PATCH 1/2] bitbake: Allow seting of baselib Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Kumar Gala @ 2011-08-04  7:28 UTC (permalink / raw)
  To: openembedded-core

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@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 = ""
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] arch-powerpc64: set BASE_LIB to 'lib64'
  2011-08-04  7:28 [PATCH 1/2] bitbake: Allow seting of baselib Kumar Gala
@ 2011-08-04  7:28 ` Kumar Gala
  2011-08-04 14:16 ` [PATCH 1/2] bitbake: Allow seting of baselib Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2011-08-04  7:28 UTC (permalink / raw)
  To: openembedded-core

Default baselib location on ppc64 to 'lib64'.  This matches what other
Linux ppc64 distro's have done to date and keeps thing in sync for the
multilib case.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 .../machine/include/powerpc/arch-powerpc64.inc     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
index 7ef8ddc..7681eae 100644
--- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc
+++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc
@@ -10,3 +10,4 @@ TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "",
 AVAILTUNES += "powerpc64"
 TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard"
 BASE_LIB_tune-powerpc64 = "lib64"
+BASE_LIB = "lib64"
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] bitbake: Allow seting of baselib
  2011-08-04  7:28 [PATCH 1/2] bitbake: Allow seting of baselib Kumar Gala
  2011-08-04  7:28 ` [PATCH 2/2] arch-powerpc64: set BASE_LIB to 'lib64' Kumar Gala
@ 2011-08-04 14:16 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-04 14:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-04 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04  7:28 [PATCH 1/2] bitbake: Allow seting of baselib Kumar Gala
2011-08-04  7:28 ` [PATCH 2/2] arch-powerpc64: set BASE_LIB to 'lib64' Kumar Gala
2011-08-04 14:16 ` [PATCH 1/2] bitbake: Allow seting of baselib Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.