diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index acb91d7d63..be5970a4bb 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -23,6 +23,9 @@ SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d) | |||
23 | PACKAGE_ARCHS_append_task-populate-sdk = " sdk-provides-dummy-target" | 23 | PACKAGE_ARCHS_append_task-populate-sdk = " sdk-provides-dummy-target" |
24 | SDK_PACKAGE_ARCHS += "sdk-provides-dummy-${SDKPKGSUFFIX}" | 24 | SDK_PACKAGE_ARCHS += "sdk-provides-dummy-${SDKPKGSUFFIX}" |
25 | 25 | ||
26 | # List of locales to install, or "all" for all of them, or unset for none. | ||
27 | SDKIMAGE_LINGUAS ?= "all" | ||
28 | |||
26 | inherit rootfs_${IMAGE_PKGTYPE} | 29 | inherit rootfs_${IMAGE_PKGTYPE} |
27 | 30 | ||
28 | SDK_DIR = "${WORKDIR}/sdk" | 31 | SDK_DIR = "${WORKDIR}/sdk" |
@@ -43,7 +46,7 @@ TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" | |||
43 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" | 46 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" |
44 | 47 | ||
45 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 48 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
46 | SDK_DEPENDS = "virtual/fakeroot-native pixz-native" | 49 | SDK_DEPENDS = "virtual/fakeroot-native pixz-native cross-localedef-native" |
47 | 50 | ||
48 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it | 51 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it |
49 | # could be set to the MACHINE_ARCH | 52 | # could be set to the MACHINE_ARCH |
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index d7a0884037..655375416b 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -655,7 +655,8 @@ fakeroot python do_populate_sdk_ext() { | |||
655 | d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d)) | 655 | d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d)) |
656 | d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn) | 656 | d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn) |
657 | d.setVar('SDKDEPLOYDIR', '${SDKEXTDEPLOYDIR}') | 657 | d.setVar('SDKDEPLOYDIR', '${SDKEXTDEPLOYDIR}') |
658 | 658 | # ESDKs have a libc from the buildtools so ensure we don't ship linguas twice | |
659 | d.delVar('SDKIMAGE_LINGUAS') | ||
659 | populate_sdk_common(d) | 660 | populate_sdk_common(d) |
660 | } | 661 | } |
661 | 662 | ||