]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_base: depend on nativesdk-glibc-locale
authorRoss Burton <ross.burton@intel.com>
Fri, 2 Mar 2018 20:52:54 +0000 (20:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Mar 2018 14:13:58 +0000 (06:13 -0800)
If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_base.bbclass

index be5970a4bbc480f97cd6c0e67a7293b6d7333f61..60a5abc7dc8d9be16a76ba69f2660bec5bc8a5b6 100644 (file)
@@ -47,6 +47,7 @@ TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"
 
 SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
 SDK_DEPENDS = "virtual/fakeroot-native pixz-native cross-localedef-native"
+SDK_DEPENDS_append_libc-glibc = " nativesdk-glibc-locale"
 
 # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it
 # could be set to the MACHINE_ARCH