diff options
author | Jonathan GUILLOT <jonathan@joggee.fr> | 2023-12-06 16:03:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-14 13:53:36 +0000 |
commit | c2a7c008e17248edaf454c0911fcbb6acc513e5e (patch) | |
tree | b27bab197d7c033de0d707939ebd68a4f695a07a /meta/classes-global | |
parent | c381ca72437ab097cd04db63bfb6fb1e13880223 (diff) | |
download | poky-c2a7c008e17248edaf454c0911fcbb6acc513e5e.tar.gz |
lib/oe/package: add LOCALE_PATHS to add define all locations for locales
Some packages may contain localized files not located in default path
${datadir}/locale. Add the new variable LOCALE_PATHS to allow a recipe
to define extra paths or even fully override the scanned directories.
LOCALE_PATHS is set at ${datadir}/locale by default to keep the exact
same behavior for the recipes which did not need modification.
(From OE-Core rev: 0ffc7cf01225743789ac30dd325fca05b9203be1)
Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/package.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index f56bca3542..aa1eb5e901 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass | |||
@@ -335,6 +335,7 @@ python package_convert_pr_autoinc() { | |||
335 | } | 335 | } |
336 | 336 | ||
337 | LOCALEBASEPN ??= "${PN}" | 337 | LOCALEBASEPN ??= "${PN}" |
338 | LOCALE_PATHS ?= "${datadir}/locale" | ||
338 | 339 | ||
339 | python package_do_split_locales() { | 340 | python package_do_split_locales() { |
340 | oe.package.split_locales(d) | 341 | oe.package.split_locales(d) |