summaryrefslogtreecommitdiffstats
path: root/meta/classes/libc-package.bbclass
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 /meta/classes/libc-package.bbclass
parent107f25a586fc2405cce827eb271041f7c8f903ee (diff)
downloadpoky-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.gz
libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-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"
12python __anonymous () { 12python __anonymous () {
13 enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1) 13 enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1)
14 14
15 pn = d.getVar("PN", True)
16 if pn.endswith("-initial"):
17 enabled = False
18
15 if enabled and int(enabled): 19 if enabled and int(enabled):
16 import re 20 import re
17 21