diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-04-08 16:30:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-12 10:12:21 -0700 |
commit | a52663efe89bff608650d11ef4eb3ced7c017b23 (patch) | |
tree | 586d0dccaeae4c92f2aa39d3dfb52bbf10751734 /meta | |
parent | a67707bf49109320d66b03ff38ef4f96d91eaa67 (diff) | |
download | poky-a52663efe89bff608650d11ef4eb3ced7c017b23.tar.gz |
eglibc-package.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
The purpose of adding the above variables it to make it easier to
install them into a lsb-image. By having 4 collections of packages
they will not fill the task-poky-lsb.bb file.
eglibc-binaries include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"
[sgw: edited summary and description]
(From OE-Core rev: d8c985ec67f39a9e4ba9afbb0b52c2fe7e632255)
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 01275aaf1b..fa6dc3c775 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -44,6 +44,26 @@ PACKAGES_DYNAMIC = " \ | |||
44 | eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \ | 44 | eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \ |
45 | locale-base-*${PKGSUFFIX}" | 45 | locale-base-*${PKGSUFFIX}" |
46 | 46 | ||
47 | # Create a eglibc-binaries | ||
48 | ALLOW_EMPTY_${PN}-binaries = "1" | ||
49 | PACKAGES += "${PN}-binaries" | ||
50 | RRECOMMENDS_${PN}-binaries = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}" | ||
51 | |||
52 | # Create a eglibc-charmaps package | ||
53 | ALLOW_EMPTY_${PN}-charmaps = "1" | ||
54 | PACKAGES += "${PN}-charmaps" | ||
55 | RRECOMMENDS_${PN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}" | ||
56 | |||
57 | # Create a eglibc-gconvs package | ||
58 | ALLOW_EMPTY_${PN}-gconvs = "1" | ||
59 | PACKAGES += "${PN}-gconvs" | ||
60 | RRECOMMENDS_${PN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}" | ||
61 | |||
62 | # Create a eglibc-localedatas package | ||
63 | ALLOW_EMPTY_${PN}-localedatas = "1" | ||
64 | PACKAGES += "${PN}-localedatas" | ||
65 | RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" | ||
66 | |||
47 | RPROVIDES_eglibc = "glibc" | 67 | RPROVIDES_eglibc = "glibc" |
48 | RPROVIDES_eglibc-utils = "glibc-utils" | 68 | RPROVIDES_eglibc-utils = "glibc-utils" |
49 | RPROVIDES_eglibc-pic = "glibc-pic" | 69 | RPROVIDES_eglibc-pic = "glibc-pic" |