diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 16:41:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 16:43:38 +0100 |
commit | 35695ee0e2284eef86bf713ccb69785941e2cca0 (patch) | |
tree | 96eea3c64caad7b3b9ae66a5f5ee9c5e6b506105 /meta | |
parent | e0fc42b51a8209dac1163ae8126f8c687b6bfddf (diff) | |
download | poky-35695ee0e2284eef86bf713ccb69785941e2cca0.tar.gz |
eglibc-package.bbclass: Fix unintended code changes
Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted
some code changes it shouldn't have done leading to continued eglibc
packaging issues. This patch corrects that damage.
(From OE-Core rev: b0dd8f5e71e33bdc2614133a7cbb21426ecee38d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 18 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.13.bb | 2 |
2 files changed, 14 insertions, 6 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.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb index 50880496f6..7986131809 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 = "r4" | 7 | PR = "r5" |
8 | PR_append = "+svnr${SRCPV}" | 8 | PR_append = "+svnr${SRCPV}" |
9 | 9 | ||
10 | EGLIBC_BRANCH="eglibc-2_13" | 10 | EGLIBC_BRANCH="eglibc-2_13" |