Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before
Signed-off-by: Koen Kooi <[email protected]> --- meta/classes/libc-common.bbclass | 9 +++++++++ meta/classes/libc-package.bbclass | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass index bae0ace..983ed40 100644 --- a/meta/classes/libc-common.bbclass +++ b/meta/classes/libc-common.bbclass @@ -21,3 +21,12 @@ def get_libc_fpu_setting(bb, d): if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: return "--without-fp" return "" +# We want to do this indirection so that we can safely 'return' +# from the called function even though we're prepending +python populate_packages_prepend () { + if bb.data.getVar('DEBIAN_NAMES', d, 1): + bpn = bb.data.getVar('BPN', d, 1) + bb.data.setVar('PKG_'+bpn, 'libc6', d) + bb.data.setVar('PKG_'+bpn+'-dev', 'libc6-dev', d) + bb.build.exec_func('package_do_split_gconvs', d) +} diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 4bc58c8..78dae97 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -364,13 +364,3 @@ python package_do_split_gconvs () { bb.note("generation of binary locales disabled. this may break i18n!") } - -# We want to do this indirection so that we can safely 'return' -# from the called function even though we're prepending -python populate_packages_prepend () { - if bb.data.getVar('DEBIAN_NAMES', d, 1): - bpn = bb.data.getVar('BPN', d, 1) - bb.data.setVar('PKG_'+bpn, 'libc6', d) - bb.data.setVar('PKG_'+bpn+'-dev', 'libc6-dev', d) - bb.build.exec_func('package_do_split_gconvs', d) -} -- 1.6.6.1 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
