From 7ef6b83e92d4d67d61591cea95313929435b8af7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 22 Sep 2011 20:50:35 +0100 Subject: Revert "eglibc: fix packaging of some of nativesdk packages" 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 | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'meta/recipes-core/eglibc/eglibc-locale.inc') diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc index cfc7d84eb..d9720e487 100644 --- a/meta/recipes-core/eglibc/eglibc-locale.inc +++ b/meta/recipes-core/eglibc/eglibc-locale.inc @@ -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}" -- cgit v1.2.3