[OE-core] [PATCH] Add and use 'localedir' variable

Chris Larson kergoth at gmail.com
Mon Sep 24 21:04:18 UTC 2012


On Mon, Sep 24, 2012 at 2:00 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Mon, Sep 24, 2012 at 12:00 PM, Christopher Larson <kergoth at gmail.com> wrote:
>> From: Christopher Larson <chris_larson at mentor.com>
>>
>> This avoids the hardcoding of ${libdir}/locale which is all over the place,
>> and will facilitate use of ${exec_prefix}/lib/locale instead of
>> ${libdir}/locale.
>
> what is adavantage of letting use ${exec_prefix}/lib/locale ? Do you have a case
> where you share locale between multilibs ?

This is the case by default for all eglibc builds that set libdir to
the default. See https://gist.github.com/3756705 — there's another
block just like that for all the other 64 bit archs for eglibc. When
we pass —libdir=/usr/lib64, it skips this logic.

So changing it would just bring us inline with the default eglibc
behavior. The binary locale files are, as far as I'm aware, a
relatively arch independent binary format. There's no point or benefit
to having lib32 vs lib64 copies, they'd just be duplicated content.

If it wasn't for the forthcoming 1.3 release, I'd have included the
proposed change to the default localedir to ${exec_prefix}/lib/locale
with this patch.
-- 
Christopher Larson




More information about the Openembedded-core mailing list