diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/libc-common.bbclass | 7 | ||||
-rw-r--r-- | meta/classes/libc-package.bbclass | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass index bae0ace890..5e932051a2 100644 --- a/meta/classes/libc-common.bbclass +++ b/meta/classes/libc-common.bbclass | |||
@@ -21,3 +21,10 @@ def get_libc_fpu_setting(bb, d): | |||
21 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | 21 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: |
22 | return "--without-fp" | 22 | return "--without-fp" |
23 | return "" | 23 | return "" |
24 | |||
25 | python populate_packages_prepend () { | ||
26 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
27 | bpn = bb.data.getVar('BPN', d, 1) | ||
28 | bb.data.setVar('PKG_'+bpn, 'libc6', d) | ||
29 | bb.data.setVar('PKG_'+bpn+'-dev', 'libc6-dev', d) | ||
30 | } | ||
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index ff92afb179..7cfeb7de45 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -369,9 +369,6 @@ python package_do_split_gconvs () { | |||
369 | # We want to do this indirection so that we can safely 'return' | 369 | # We want to do this indirection so that we can safely 'return' |
370 | # from the called function even though we're prepending | 370 | # from the called function even though we're prepending |
371 | python populate_packages_prepend () { | 371 | python populate_packages_prepend () { |
372 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
373 | bpn = bb.data.getVar('BPN', d, 1) | ||
374 | bb.data.setVar('PKG_'+bpn, 'libc6', d) | ||
375 | bb.data.setVar('PKG_'+bpn+'-dev', 'libc6-dev', d) | ||
376 | bb.build.exec_func('package_do_split_gconvs', d) | 372 | bb.build.exec_func('package_do_split_gconvs', d) |
377 | } | 373 | } |
374 | |||