summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-17 00:17:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-17 00:17:01 +0000
commit27894c58b74fb01530aa7144b8e8c7a2298187b4 (patch)
tree8607d2e216a9bd5de02bf7fee3ce795045d0b05d
parent107f25a586fc2405cce827eb271041f7c8f903ee (diff)
downloadopenembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.gz
openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.bz2
openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.zip
libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/libc-package.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index c9d81f0638..047464e0aa 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