diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 16:45:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 16:45:28 +0100 |
commit | a92449f62eb89530a700c87e051e8199c97812e5 (patch) | |
tree | cf7ffb4101491419ba191c21eaf7fdee742c9c11 | |
parent | 35695ee0e2284eef86bf713ccb69785941e2cca0 (diff) | |
download | poky-a92449f62eb89530a700c87e051e8199c97812e5.tar.gz |
eglibc-package.bbclass: Ensure localedef is only packaged in one location
(From OE-Core rev: 62d7e8d2d7614c7a842056a68a68b70df320d2b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 831835612e..1c6626c187 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -92,7 +92,7 @@ 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 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} |
95 | cp -fpP ${D}${bindir}/localedef ${dest}${bindir} | 95 | mv ${D}${bindir}/localedef ${dest}${bindir} |
96 | mv ${D}${libdir}/gconv ${dest}${libdir} | 96 | mv ${D}${libdir}/gconv ${dest}${libdir} |
97 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | 97 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} |
98 | mv ${D}${datadir}/i18n ${dest}${datadir} | 98 | mv ${D}${datadir}/i18n ${dest}${datadir} |
@@ -100,7 +100,7 @@ do_install_locale () { | |||
100 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | 100 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} |
101 | } | 101 | } |
102 | 102 | ||
103 | addtask do_install_locale after do_install before do_populate_sysroot | 103 | addtask do_install_locale after do_install before do_populate_sysroot do_package |
104 | 104 | ||
105 | PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess" | 105 | PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess" |
106 | 106 | ||