Patchwork bitbake.conf/powerpc64: Set baselib to 'lib64' for ppc64

login
register
mail settings
Submitter Kumar Gala
Date Aug. 4, 2011, 6:51 p.m.
Message ID <1312483886-31682-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/9313/
State New, archived
Headers show

Comments

Kumar Gala - Aug. 4, 2011, 6:51 p.m.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 meta/conf/bitbake.conf |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Saul Wold - Aug. 4, 2011, 7:09 p.m.
On 08/04/2011 11:51 AM, Kumar Gala wrote:
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
>   meta/conf/bitbake.conf |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 6f0b42c..1d83459 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -7,7 +7,9 @@
>   #
>
>   # Used by multilib code to change the library paths
> -baselib = "lib"
> +baselib = "${BASELIB}"
> +BASELIB = "lib"
Should the be ?=

> +BASELIB_powerpc64 = "lib64"
>
And this located in the arch-powerpc64 file?

Sau!


>   # Path prefixes
>   export base_prefix = ""
Kumar Gala - Aug. 4, 2011, 7:31 p.m.
On Aug 4, 2011, at 2:09 PM, Saul Wold wrote:

> On 08/04/2011 11:51 AM, Kumar Gala wrote:
>> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
>> ---
>>  meta/conf/bitbake.conf |    4 +++-
>>  1 files changed, 3 insertions(+), 1 deletions(-)
>> 
>> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
>> index 6f0b42c..1d83459 100644
>> --- a/meta/conf/bitbake.conf
>> +++ b/meta/conf/bitbake.conf
>> @@ -7,7 +7,9 @@
>>  #
>> 
>>  # Used by multilib code to change the library paths
>> -baselib = "lib"
>> +baselib = "${BASELIB}"
>> +BASELIB = "lib"
> Should the be ?=
> 
>> +BASELIB_powerpc64 = "lib64"
>> 
> And this located in the arch-powerpc64 file?
> 
> Sau!

This is what Richard recommend (that we do this just in bitbake.conf).  I don't think this can live in arch-powerpc64 and things work properly for it to be picked up everywhere it needs be.

- k
Richard Purdie - Aug. 5, 2011, 4:48 p.m.
On Thu, 2011-08-04 at 13:51 -0500, Kumar Gala wrote:
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
>  meta/conf/bitbake.conf |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 6f0b42c..1d83459 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -7,7 +7,9 @@ 
 #
 
 # Used by multilib code to change the library paths
-baselib = "lib"
+baselib = "${BASELIB}"
+BASELIB = "lib"
+BASELIB_powerpc64 = "lib64"
 
 # Path prefixes
 export base_prefix = ""