summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorJonathan GUILLOT <jonathan@joggee.fr>2023-12-06 16:03:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-14 13:53:36 +0000
commitc2a7c008e17248edaf454c0911fcbb6acc513e5e (patch)
treeb27bab197d7c033de0d707939ebd68a4f695a07a /meta/classes-global
parentc381ca72437ab097cd04db63bfb6fb1e13880223 (diff)
downloadpoky-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.bbclass1
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
337LOCALEBASEPN ??= "${PN}" 337LOCALEBASEPN ??= "${PN}"
338LOCALE_PATHS ?= "${datadir}/locale"
338 339
339python package_do_split_locales() { 340python package_do_split_locales() {
340 oe.package.split_locales(d) 341 oe.package.split_locales(d)