summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-locale.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-locale.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index 9424ff577a..cfc7d84eb9 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -26,10 +26,15 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips"
26# set "0" for qemu emulation of native localedef for locale generation 26# set "0" for qemu emulation of native localedef for locale generation
27LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1" 27LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
28 28
29PR = "r16" 29PR = "r17"
30 30
31PKGSUFFIX = "" 31python __anonymous () {
32PKGSUFFIX_virtclass-nativesdk = "-nativesdk" 32 import bb
33 if bb.data.inherits_class("nativesdk", d):
34 bb.data.setVar("PKGSUFFIX", "-nativesdk", d)
35 else:
36 bb.data.setVar("PKGSUFFIX", "", d)
37}
33 38
34PROVIDES = "virtual/libc-locale${PKGSUFFIX}" 39PROVIDES = "virtual/libc-locale${PKGSUFFIX}"
35 40