summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2012-03-20 17:27:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 19:18:24 +0000
commit16585f53f22e77bf75b6d9354306be88ec4850fe (patch)
tree238ee11d2d61ba44bc41cca189f67a7192e3ccba
parent39c2e33c39aff2acf6c30ddb66bb9ee208eecb0b (diff)
downloadpoky-16585f53f22e77bf75b6d9354306be88ec4850fe.tar.gz
libc-common: Apply Debian-naming to libc debug symbols too
Ensure that the eglibc-dbg package follows Debian naming too if enabled. Retain backward compatibility with old libc-dbg naming. (From OE-Core rev: e338607f36fcad89af7d796b2e9f3a31f11e54d6) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/libc-common.bbclass5
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.13.bb2
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb1
3 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 962f205f81..9b91f0a1a6 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -27,4 +27,9 @@ python populate_packages_prepend () {
27 bpn = d.getVar('BPN', True) 27 bpn = d.getVar('BPN', True)
28 d.setVar('PKG_'+bpn, 'libc6') 28 d.setVar('PKG_'+bpn, 'libc6')
29 d.setVar('PKG_'+bpn+'-dev', 'libc6-dev') 29 d.setVar('PKG_'+bpn+'-dev', 'libc6-dev')
30 d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg')
31 # For backward compatibility with old -dbg package
32 d.setVar('RPROVIDES_' + bpn + '-dbg', 'libc-dbg')
33 d.setVar('RCONFLICTS_' + bpn + '-dbg', 'libc-dbg')
34 d.setVar('RREPLACES_' + bpn + '-dbg', 'libc-dbg')
30} 35}
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index e718a1f93e..a4f59b62ce 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -3,7 +3,7 @@ require eglibc.inc
3SRCREV = "15508" 3SRCREV = "15508"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r20" 6PR = "r21"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_13" 9EGLIBC_BRANCH="eglibc-2_13"
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index b4c1ea5a99..3820f5aa09 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,6 +3,7 @@ require eglibc.inc
3SRCREV = "16540" 3SRCREV = "16540"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r1"
6PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
7 8
8EGLIBC_BRANCH="eglibc-2_15" 9EGLIBC_BRANCH="eglibc-2_15"