diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-17 00:17:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-17 00:17:01 +0000 |
commit | 27894c58b74fb01530aa7144b8e8c7a2298187b4 (patch) | |
tree | 8607d2e216a9bd5de02bf7fee3ce795045d0b05d /meta | |
parent | 107f25a586fc2405cce827eb271041f7c8f903ee (diff) | |
download | openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.gz openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.bz2 openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.tar.xz openembedded-core-27894c58b74fb01530aa7144b8e8c7a2298187b4.zip |
libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/libc-package.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
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 |