]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "eglibc: fix packaging of some of nativesdk packages"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 19:50:35 +0000 (20:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 19:53:35 +0000 (20:53 +0100)
This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753.

See the mailing list for details, this broke things for too
many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER.

odified:   meta/recipes-core/eglibc/eglibc-locale.inc

meta/recipes-core/eglibc/eglibc-locale.inc
meta/recipes-core/eglibc/eglibc-package.inc
meta/recipes-core/eglibc/eglibc_2.12.bb
meta/recipes-core/eglibc/eglibc_2.13.bb

index cfc7d84eb9b96c898508cb3296a4c95fa165ac61..d9720e487b3cb573cad2374de2ec75d4c4148d16 100644 (file)
@@ -26,15 +26,10 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips"
 # set "0" for qemu emulation of native localedef for locale generation
 LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
 
-PR = "r17"
-
-python __anonymous () {
-    import bb
-    if bb.data.inherits_class("nativesdk", d):
-        bb.data.setVar("PKGSUFFIX", "-nativesdk", d)
-    else:
-        bb.data.setVar("PKGSUFFIX", "", d)
-}
+PR = "r18"
+
+PKGSUFFIX = ""
+PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
 PROVIDES = "virtual/libc-locale${PKGSUFFIX}"
 
index dc6fce0442c0497b7554c59097d9fab176a43367..519a49c75fd35e946f51deffd69f50acf1ae0296 100644 (file)
@@ -17,13 +17,8 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package
 USE_LDCONFIG ?= "1"
 
-python __anonymous () {
-    import bb
-    if bb.data.inherits_class("nativesdk", d):
-        bb.data.setVar("PKGSUFFIX", "-nativesdk", d)
-    else:
-        bb.data.setVar("PKGSUFFIX", "", d)
-}
+PKGSUFFIX = ""
+PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
 PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
 
index 7a1a5695fea7cc55e6d332f05113d3171d90ea4a..0fbd070497f0b270b4ab4a148660a17340dc18b6 100644 (file)
@@ -1,7 +1,7 @@
 require eglibc.inc
 
 DEPENDS += "gperf-native"
-PR = "r25"
+PR = "r26"
 
 SRCREV = "14158"
 
index e172785c693afc381b9cd6d7b9b9ef4405b59305..fc8ac64a1c3c127858e1200d2e553f2ea6ceff5f 100644 (file)
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "14157"
 
 DEPENDS += "gperf-native"
-PR = "r16"
+PR = "r17"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_13"