diff options
Diffstat (limited to 'meta/recipes-core/eglibc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-locale.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 18 |
2 files changed, 6 insertions, 14 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc index c84f03292b..00cccc0175 100644 --- a/meta/recipes-core/eglibc/eglibc-locale.inc +++ b/meta/recipes-core/eglibc/eglibc-locale.inc | |||
@@ -26,7 +26,7 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips" | |||
26 | # set "0" for qemu emulation of native localedef for locale generation | 26 | # set "0" for qemu emulation of native localedef for locale generation |
27 | LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1" | 27 | LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1" |
28 | 28 | ||
29 | PR = "r2" | 29 | PR = "r16" |
30 | 30 | ||
31 | PKGSUFFIX = "" | 31 | PKGSUFFIX = "" |
32 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | 32 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" |
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 831835612e..8228484815 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -90,21 +90,13 @@ inherit libc-common | |||
90 | 90 | ||
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} ${dest}${bindir} |
94 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | 94 | cp -fpPR ${D}${base_libdir} ${dest}${base_prefix} |
95 | cp -fpP ${D}${bindir}/localedef ${dest}${bindir} | 95 | cp -fpPR ${D}${libdir} ${dest}${exec_prefix} |
96 | mv ${D}${libdir}/gconv ${dest}${libdir} | 96 | cp -fpPR ${D}${datadir} ${dest}${exec_prefix} |
97 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | 97 | cp -fpPR ${D}${bindir}/localedef ${dest}${bindir} |
98 | mv ${D}${datadir}/i18n ${dest}${datadir} | ||
99 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | ||
100 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | 98 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} |
101 | } | 99 | } |
102 | 100 | ||
103 | addtask do_install_locale after do_install before do_populate_sysroot | 101 | addtask do_install_locale after do_install before do_populate_sysroot |
104 | 102 | ||
105 | PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess" | ||
106 | |||
107 | eglibc_package_preprocess () { | ||
108 | rm -rf ${PKGD}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
109 | } | ||
110 | |||