diff options
Diffstat (limited to 'meta/recipes-core/eglibc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-locale.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc index c3fcc6d749..83569da73a 100644 --- a/meta/recipes-core/eglibc/eglibc-locale.inc +++ b/meta/recipes-core/eglibc/eglibc-locale.inc | |||
@@ -67,11 +67,12 @@ FILES_localedef = "${bindir}/localedef" | |||
67 | LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}" | 67 | LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}" |
68 | 68 | ||
69 | do_install () { | 69 | do_install () { |
70 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} ${D}${localedir} | 70 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} |
71 | if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then | 71 | if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then |
72 | cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} | 72 | cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} |
73 | fi | 73 | fi |
74 | if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then | 74 | if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then |
75 | mkdir -p ${D}${localedir} | ||
75 | cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir} | 76 | cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir} |
76 | fi | 77 | fi |
77 | if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then | 78 | if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then |