diff options
Diffstat (limited to 'meta/classes/libc-common.bbclass')
-rw-r--r-- | meta/classes/libc-common.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass index 0ee9a55b09..ec33762a20 100644 --- a/meta/classes/libc-common.bbclass +++ b/meta/classes/libc-common.bbclass | |||
@@ -18,13 +18,13 @@ do_install() { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | def get_libc_fpu_setting(bb, d): | 20 | def get_libc_fpu_setting(bb, d): |
21 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | 21 | if d.getVar('TARGET_FPU', 1) in [ 'soft' ]: |
22 | return "--without-fp" | 22 | return "--without-fp" |
23 | return "" | 23 | return "" |
24 | 24 | ||
25 | python populate_packages_prepend () { | 25 | python populate_packages_prepend () { |
26 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | 26 | if d.getVar('DEBIAN_NAMES', 1): |
27 | bpn = bb.data.getVar('BPN', d, 1) | 27 | bpn = d.getVar('BPN', 1) |
28 | bb.data.setVar('PKG_'+bpn, 'libc6', d) | 28 | d.setVar('PKG_'+bpn, 'libc6') |
29 | bb.data.setVar('PKG_'+bpn+'-dev', 'libc6-dev', d) | 29 | d.setVar('PKG_'+bpn+'-dev', 'libc6-dev') |
30 | } | 30 | } |