diff options
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 18 | ||||
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.12.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.13.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc-package.inc | 20 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc_2.10.1.bb | 12 |
5 files changed, 35 insertions, 19 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 8228484815..831835612e 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
| @@ -90,13 +90,21 @@ 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} ${dest}${bindir} | 93 | install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir} |
| 94 | cp -fpPR ${D}${base_libdir} ${dest}${base_prefix} | 94 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} |
| 95 | cp -fpPR ${D}${libdir} ${dest}${exec_prefix} | 95 | cp -fpP ${D}${bindir}/localedef ${dest}${bindir} |
| 96 | cp -fpPR ${D}${datadir} ${dest}${exec_prefix} | 96 | mv ${D}${libdir}/gconv ${dest}${libdir} |
| 97 | cp -fpPR ${D}${bindir}/localedef ${dest}${bindir} | 97 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} |
| 98 | mv ${D}${datadir}/i18n ${dest}${datadir} | ||
| 99 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | ||
| 98 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | 100 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} |
| 99 | } | 101 | } |
| 100 | 102 | ||
| 101 | addtask do_install_locale after do_install before do_populate_sysroot | 103 | addtask do_install_locale after do_install before do_populate_sysroot |
| 102 | 104 | ||
| 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 | |||
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb index 47b1822ac6..60358e1791 100644 --- a/meta/recipes-core/eglibc/eglibc_2.12.bb +++ b/meta/recipes-core/eglibc/eglibc_2.12.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | require eglibc.inc | 1 | require eglibc.inc |
| 2 | 2 | ||
| 3 | DEPENDS += "gperf-native" | 3 | DEPENDS += "gperf-native" |
| 4 | PR = "r16" | 4 | PR = "r17" |
| 5 | 5 | ||
| 6 | SRCREV = "14158" | 6 | SRCREV = "14158" |
| 7 | 7 | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb index dfedfef9d9..50880496f6 100644 --- a/meta/recipes-core/eglibc/eglibc_2.13.bb +++ b/meta/recipes-core/eglibc/eglibc_2.13.bb | |||
| @@ -4,7 +4,7 @@ SRCREV = "14157" | |||
| 4 | 4 | ||
| 5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
| 6 | FILESPATHPKG =. "eglibc-svn:" | 6 | FILESPATHPKG =. "eglibc-svn:" |
| 7 | PR = "r3" | 7 | PR = "r4" |
| 8 | PR_append = "+svnr${SRCPV}" | 8 | PR_append = "+svnr${SRCPV}" |
| 9 | 9 | ||
| 10 | EGLIBC_BRANCH="eglibc-2_13" | 10 | EGLIBC_BRANCH="eglibc-2_13" |
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 5373d56d57..c1c38534b7 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc | |||
| @@ -74,3 +74,23 @@ EXTRA_OEMAKE += "rootsbindir=${base_sbindir}" | |||
| 74 | 74 | ||
| 75 | inherit libc-common | 75 | inherit libc-common |
| 76 | 76 | ||
| 77 | do_install_locale () { | ||
| 78 | dest=${D}/${includedir}/glibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
| 79 | install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir} | ||
| 80 | cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} | ||
| 81 | cp -fpP ${D}${bindir}/localedef ${dest}${bindir} | ||
| 82 | mv ${D}${libdir}/gconv ${dest}${libdir} | ||
| 83 | cp -fpPR ${D}${libdir}/* ${dest}${libdir} | ||
| 84 | mv ${D}${datadir}/i18n ${dest}${datadir} | ||
| 85 | cp -fpPR ${D}${datadir}/* ${dest}${datadir} | ||
| 86 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | ||
| 87 | } | ||
| 88 | |||
| 89 | addtask do_install_locale after do_install before do_populate_sysroot | ||
| 90 | |||
| 91 | PACKAGE_PREPROCESS_FUNCS += "glibc_package_preprocess" | ||
| 92 | |||
| 93 | glibc_package_preprocess () { | ||
| 94 | rm -rf ${PKGD}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
| 95 | } | ||
| 96 | |||
diff --git a/meta/recipes-core/glibc/glibc_2.10.1.bb b/meta/recipes-core/glibc/glibc_2.10.1.bb index 4d57c4ed32..e76f3c0194 100644 --- a/meta/recipes-core/glibc/glibc_2.10.1.bb +++ b/meta/recipes-core/glibc/glibc_2.10.1.bb | |||
| @@ -154,18 +154,6 @@ do_compile () { | |||
| 154 | ) | 154 | ) |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | do_install_locale () { | ||
| 158 | dest=${D}/${includedir}/glibc-locale-internal-${MULTIMACH_TARGET_SYS} | ||
| 159 | install -d ${dest} ${dest}${bindir} | ||
| 160 | cp -fpPR ${D}${base_libdir} ${dest}${base_prefix} | ||
| 161 | cp -fpPR ${D}${libdir} ${dest}${exec_prefix} | ||
| 162 | cp -fpPR ${D}${datadir} ${dest}${exec_prefix} | ||
| 163 | cp -fpPR ${D}${bindir}/localedef ${dest}${bindir} | ||
| 164 | cp -fpPR ${WORKDIR}/SUPPORTED ${dest} | ||
| 165 | } | ||
| 166 | |||
| 167 | addtask do_install_locale after do_install before do_populate_sysroot | ||
| 168 | |||
| 169 | require glibc-stage.inc | 157 | require glibc-stage.inc |
| 170 | 158 | ||
| 171 | require glibc-package.inc | 159 | require glibc-package.inc |
