summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-02 10:42:21 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-02 13:41:03 (GMT)
commite5d2249476fad3ebba648c6b7adf994cb630d1c6 (patch)
tree22e000e6564b6794a72b50c42962c3979d0165f6
parentbb5a3ff0b0331655b44f41d7ca3f8d13066fb083 (diff)
downloadpoky-e5d2249476fad3ebba648c6b7adf994cb630d1c6.tar.gz
eglibc: Add missing ${PN} and ${PKGSUFFIX} usages
This fixes warning messages such as: The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc'] NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to eglibc so the nativesdk class continues to work correctly for now and ensure consistency in how the various eglibc packages are generated. Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this time though given all the other changes that are going on. (From OE-Core rev: 3a18aa65a4c123ea922b6cd09ca6a77090f12252) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc48
1 files changed, 24 insertions, 24 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 7646ea4..77519d2 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -20,7 +20,7 @@ USE_LDCONFIG ?= "1"
20PKGSUFFIX = "" 20PKGSUFFIX = ""
21PKGSUFFIX_virtclass-nativesdk = "-nativesdk" 21PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
22 22
23PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev eglibc-doc libcidn libmemusage libsegfault${PKGSUFFIX} eglibc-pcprofile libsotruss${PKGSUFFIX}" 23PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
24 24
25# Create a eglibc-binaries 25# Create a eglibc-binaries
26ALLOW_EMPTY_${PN}-binaries = "1" 26ALLOW_EMPTY_${PN}-binaries = "1"
@@ -42,48 +42,48 @@ ALLOW_EMPTY_${PN}-localedatas = "1"
42PACKAGES += "${PN}-localedatas" 42PACKAGES += "${PN}-localedatas"
43RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" 43RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
44 44
45RPROVIDES_eglibc = "glibc" 45RPROVIDES_${PN} = "glibc${PKGSUFFIX}"
46RPROVIDES_${PN}-utils = "glibc-utils" 46RPROVIDES_${PN}-utils = "glibc${PKGSUFFIX}-utils"
47RPROVIDES_eglibc-pic = "glibc-pic" 47RPROVIDES_${PN}-pic = "glibc${PKGSUFFIX}-pic"
48RPROVIDES_eglibc-dev = "glibc-dev" 48RPROVIDES_${PN}-dev = "glibc${PKGSUFFIX}-dev"
49RPROVIDES_eglibc-doc = "glibc-doc" 49RPROVIDES_${PN}-doc = "glibc${PKGSUFFIX}-doc"
50RPROVIDES_eglibc-extra-nss = "glibc-extra-nss" 50RPROVIDES_eglibc-extra-nss${PKGSUFFIX} = "glibc-extra-nss${PKGSUFFIX}"
51RPROVIDES_eglibc-thread-db = "glibc-thread-db" 51RPROVIDES_eglibc-thread-db${PKGSUFFIX} = "glibc-thread-db${PKGSUFFIX}"
52RPROVIDES_eglibc-pcprofile = "glibc-pcprofile" 52RPROVIDES_${PN}-pcprofile = "glibc${PKGSUFFIX}-pcprofile"
53RPROVIDES_eglibc-dbg = "glibc-dbg" 53RPROVIDES_${PN}-dbg = "glibc-dbg${PKGSUFFIX}"
54libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so" 54libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so"
55 55
56FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}" 56FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}"
57FILES_ldd${PKGSUFFIX} = "${bindir}/ldd" 57FILES_ldd${PKGSUFFIX} = "${bindir}/ldd"
58FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*" 58FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*"
59FILES_libcidn = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*" 59FILES_libcidn{PKGSUFFIX} = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*"
60FILES_libmemusage = "${base_libdir}/libmemusage.so" 60FILES_libmemusage{PKGSUFFIX} = "${base_libdir}/libmemusage.so"
61FILES_eglibc-extra-nss = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*" 61FILES_eglibc-extra-nss{PKGSUFFIX} = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*"
62FILES_sln = "/sbin/sln" 62FILES_sln{PKGSUFFIX} = "/sbin/sln"
63FILES_eglibc-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/" 63FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/"
64FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so" 64FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so"
65FILES_eglibc-dev_append += "${bindir}/rpcgen ${libdir}/*.a \ 65FILES_${PN}-dev_append += "${bindir}/rpcgen ${libdir}/*.a \
66 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" 66 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal"
67FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" 67FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*"
68FILES_eglibc-utils = "${bindir}/* ${sbindir}/*" 68FILES_${PN}-utils = "${bindir}/* ${sbindir}/*"
69FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug" 69FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug"
70FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" 70FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv"
71RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" 71RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault"
72RDEPENDS_eglibc-utils += "bash" 72RDEPENDS_${PN}-utils += "bash"
73FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so" 73FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
74FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so" 74FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
75RPROVIDES_eglibc-dev += "libc-dev" 75RPROVIDES_${PN}-dev += "libc-dev"
76 76
77SUMMARY_sln = "The static ln." 77SUMMARY_sln = "The static ln."
78DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional." 78DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional."
79SUMMARY_nscd = "Name service cache daemon" 79SUMMARY_nscd = "Name service cache daemon"
80DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services." 80DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services."
81SUMMARY_eglibc-extra-nss = "hesiod, NIS and NIS+ nss libraries" 81SUMMARY_eglibc-extra-nss${PKGSUFFIX} = "hesiod, NIS and NIS+ nss libraries"
82DESCRIPTION_eglibc-extra-nss = "eglibc: nis, nisplus and hesiod search services." 82DESCRIPTION_eglibc-extra-nss${PKGSUFFIX} = "eglibc: nis, nisplus and hesiod search services."
83SUMMARY_ldd = "print shared library dependencies" 83SUMMARY_ldd = "print shared library dependencies"
84DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line." 84DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line."
85SUMMARY_eglibc-utils = "Miscellaneous utilities provided by eglibc" 85SUMMARY_${PN}-utils = "Miscellaneous utilities provided by eglibc"
86DESCRIPTION_eglibc-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." 86DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..."
87DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" 87DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs"
88 88
89inherit libc-common multilib_header 89inherit libc-common multilib_header