diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-29 14:00:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-29 14:28:03 +0100 |
commit | 6f0e589b29b1b02e71b4af0011c5b0d06a5bfc57 (patch) | |
tree | c24e9def0f7948328c2634613604f4b10e127758 /meta/classes/libc-common.bbclass | |
parent | 8bdb4de37cf543c96e5ed582038deb4be2987474 (diff) | |
download | poky-6f0e589b29b1b02e71b4af0011c5b0d06a5bfc57.tar.gz |
libc locale split: fix some remaining problems
* libc-{common,package}.bbclass: fix shlib renaming for the C library
Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before
* eglibc-locale: don't make versions go backwards after split from eglibc
eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work
[RP: Fixup PR merge conflict]
(From OE-Core rev: 477ede7472db0bacd5daacb96e97f849d1be84ee)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-common.bbclass')
-rw-r--r-- | meta/classes/libc-common.bbclass | 7 |
1 files changed, 7 insertions, 0 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 | } | ||