diff options
author | Phil Blundell <pb@pbcl.net> | 2011-07-08 20:48:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-08 22:56:26 +0100 |
commit | ab7530ab380fb39edc2acacebe7f1a36fa2ed4ba (patch) | |
tree | aafab485c6dd4b228d531ebb79910424f65e4ce2 /meta | |
parent | 104a1c2db9117caab778b4d9e9c0e16dac9be49a (diff) | |
download | poky-ab7530ab380fb39edc2acacebe7f1a36fa2ed4ba.tar.gz |
eglibc: avoid copying ${libdir} twice if it's the same as ${base_libdir}
Otherwise the following "mv ${libdir}/gconv" fails because the destination
has already been created.
(From OE-Core rev: f825e4ca619d3dc9c650343327a753eeb4a50e51)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 1c6626c187..f29417f94f 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -91,9 +91,11 @@ inherit libc-common | |||
91 | do_install_locale () { | 91 | do_install_locale () { |
92 | dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS} | 92 | dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS} |
93 | install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir} | 93 | install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir} |
94 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | 94 | if [ "${base_libdir}" != "${libdir}" ]; then |
95 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | ||
96 | fi | ||
95 | mv ${D}${bindir}/localedef ${dest}${bindir} | 97 | mv ${D}${bindir}/localedef ${dest}${bindir} |
96 | mv ${D}${libdir}/gconv ${dest}${libdir} | 98 | mv ${D}${libdir}/gconv ${dest}${libdir} |
97 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | 99 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} |
98 | mv ${D}${datadir}/i18n ${dest}${datadir} | 100 | mv ${D}${datadir}/i18n ${dest}${datadir} |
99 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | 101 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} |