From 27894c58b74fb01530aa7144b8e8c7a2298187b4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Feb 2011 00:17:01 +0000 Subject: libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions Signed-off-by: Richard Purdie --- meta/classes/libc-package.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta') diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index c9d81f063..047464e0a 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -12,6 +12,10 @@ GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "ondevice" python __anonymous () { enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1) + pn = d.getVar("PN", True) + if pn.endswith("-initial"): + enabled = False + if enabled and int(enabled): import re -- cgit v1.2.3