On Mon, 2011-06-27 at 16:37 +0800, Dongxiao Xu wrote:
> +do_install_locale () {
> +     dest=${D}/${includedir}/glibc-locale-internal-${MULTIMACH_TARGET_SYS}
> +     install -d ${dest} ${dest}${bindir}
> +     cp -fpPR ${D}${base_libdir} ${dest}${base_prefix}
> +     cp -fpPR ${D}${libdir} ${dest}${exec_prefix}
> +     cp -fpPR ${D}${datadir} ${dest}${exec_prefix}
> +     cp -fpPR ${D}${bindir}/localedef ${dest}${bindir}
> +     cp -fpPR ${WORKDIR}/SUPPORTED ${dest}
> +}

This turns out to lose if you don't have libc-locale-code in
DISTRO_FEATURES, since then localedef isn't installed and it blows up
trying to copy that file.

p.



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to