diff options
author | Ken Werner <ken.werner@linaro.org> | 2012-02-15 09:49:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-21 17:59:39 +0000 |
commit | 9c1678692872a871cd0f128eb6cb83754451962f (patch) | |
tree | b1c9c975058436c2cd7ca48494893a7b7d71a8c0 /meta/recipes-core/eglibc/eglibc-package.inc | |
parent | b2a84e717e2893ae98f9c1cb7c982745a37c3154 (diff) | |
download | poky-9c1678692872a871cd0f128eb6cb83754451962f.tar.gz |
Add sanity checks for eglibc locale
Add sanity checks that test for the existance of folders. This allows to use
an external binary toolchain that doesn't have localization support.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-package.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 870b95dc87..2a1d939786 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -91,7 +91,9 @@ do_install_locale () { | |||
91 | mv -f ${D}${libdir}/gconv ${dest}${libdir} | 91 | mv -f ${D}${libdir}/gconv ${dest}${libdir} |
92 | fi | 92 | fi |
93 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | 93 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} |
94 | mv ${D}${datadir}/i18n ${dest}${datadir} | 94 | if [ -e ${D}${datadir}/i18n ]; then |
95 | mv ${D}${datadir}/i18n ${dest}${datadir} | ||
96 | fi | ||
95 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | 97 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} |
96 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | 98 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} |
97 | } | 99 | } |