[OE-core] [OE-Core][PATCH 1/2] go-native: use nonarch_libdir

Dan McGregor danismostlikely at gmail.com
Wed May 9 16:04:31 UTC 2018


On 9 May 2018 at 09:58, Burton, Ross <ross.burton at intel.com> wrote:
> Is that *right* though?  Non-arch libdir is for architecture-independent
> pieces as the name suggests.

Looking at it again, no. It's not. That was just the first solution
that came to my head.

I think the right solution is to use libdir_native, which doesn't
change at all, and nonstaging_libdir can go away entirely.

>
> Ross
>
> On 9 May 2018 at 16:49, Dan McGregor <danismostlikely at gmail.com> wrote:
>>
>> From: Dan McGregor <dan.mcgregor at usask.ca>
>>
>> Setting staging_libdir to libdir caused unnecessary rebuilds of
>> go-native when switching from a multilib build to a non-multilib
>> build. Switch to nonarch_libdir because that's the same on both
>> multilib and regular builds.
>>
>> Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
>> ---
>>  meta/recipes-devtools/go/go-native.inc | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/go/go-native.inc
>> b/meta/recipes-devtools/go/go-native.inc
>> index b76fb0825e4..76c83848cd3 100644
>> --- a/meta/recipes-devtools/go/go-native.inc
>> +++ b/meta/recipes-devtools/go/go-native.inc
>> @@ -1,6 +1,6 @@
>>  # Use immediate assingment here to get the original (/usr/lib)
>>  # instead of the one rewritten by native.bbclass.
>> -nonstaging_libdir := "${libdir}"
>> +nonstaging_libdir := "${nonarch_libdir}"
>>
>>  inherit native
>>
>> --
>> 2.18.0-dev
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>



More information about the Openembedded-core mailing list