summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-04-08 16:30:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-12 10:01:15 -0700
commitd8c985ec67f39a9e4ba9afbb0b52c2fe7e632255 (patch)
tree505100646c651fe437f7640eacd981f9b8e3b29c
parente37a7bdc0db2dd679509be7d9b53feca2688984d (diff)
downloadopenembedded-core-d8c985ec67f39a9e4ba9afbb0b52c2fe7e632255.tar.gz
openembedded-core-d8c985ec67f39a9e4ba9afbb0b52c2fe7e632255.tar.bz2
openembedded-core-d8c985ec67f39a9e4ba9afbb0b52c2fe7e632255.zip
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] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc20
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 = " \
eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
locale-base-*${PKGSUFFIX}"
+# Create a eglibc-binaries
+ALLOW_EMPTY_${PN}-binaries = "1"
+PACKAGES += "${PN}-binaries"
+RRECOMMENDS_${PN}-binaries = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}"
+
+# Create a eglibc-charmaps package
+ALLOW_EMPTY_${PN}-charmaps = "1"
+PACKAGES += "${PN}-charmaps"
+RRECOMMENDS_${PN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}"
+
+# Create a eglibc-gconvs package
+ALLOW_EMPTY_${PN}-gconvs = "1"
+PACKAGES += "${PN}-gconvs"
+RRECOMMENDS_${PN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}"
+
+# Create a eglibc-localedatas package
+ALLOW_EMPTY_${PN}-localedatas = "1"
+PACKAGES += "${PN}-localedatas"
+RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
+
RPROVIDES_eglibc = "glibc"
RPROVIDES_eglibc-utils = "glibc-utils"
RPROVIDES_eglibc-pic = "glibc-pic"