diff options
author | Rene Wagner <rw@handhelds.org> | 2006-03-08 22:02:41 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-08 22:02:41 +0000 |
commit | 7ff9fe614c53ad3ec991264c91a73c7ffe6a2a3b (patch) | |
tree | ebedb0429251fd8581d17642be680df5b6999c7b | |
parent | 080fec02ce506d71e7e842e154271459f7077420 (diff) |
glibc: move some code around to avoid warnings while parsing. hopefully fix #729.
-rw-r--r-- | packages/glibc/glibc-package.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index 1ddcff3233..d6decfb709 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -125,14 +125,11 @@ python __anonymous () { r = re.compile(regexp) if r.match(target_arch): - bb.note("generation of binary locales enabled") depends = bb.data.getVar("DEPENDS", d, 1) depends = "%s qemu-native" % depends bb.data.setVar("DEPENDS", depends, d) bb.data.setVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", "1", d) break - else: - bb.note("generation of binary locales disabled. this may break i18n!") } do_prep_locale_tree() { @@ -145,7 +142,9 @@ do_prep_locale_tree() { gunzip $i done cp -a ${STAGING_LIBDIR}/* $treedir/lib - cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib + if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then + cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib + fi install -m 0755 ${D}${bindir}/localedef $treedir/bin } @@ -203,6 +202,7 @@ python package_do_split_gconvs () { do_split_packages(d, locales_dir, file_regex='(.*)', output_pattern='glibc-localedata-%s', description='locale definition for %s', hook=calc_locale_deps, extra_depends='', aux_files_pattern_verbatim=binary_locales_dir + '/%s') else: do_split_packages(d, locales_dir, file_regex='(.*)', output_pattern='glibc-localedata-%s', description='locale definition for %s', hook=calc_locale_deps, extra_depends='') + bb.note("generation of binary locales disabled. this may break i18n!") bb.data.setVar('PACKAGES', bb.data.getVar('PACKAGES', d) + ' glibc-gconv', d) f = open(os.path.join(bb.data.getVar('WORKDIR', d, 1), "SUPPORTED"), "r") |