diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 11:42:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 14:41:03 +0100 |
commit | e5d2249476fad3ebba648c6b7adf994cb630d1c6 (patch) | |
tree | 22e000e6564b6794a72b50c42962c3979d0165f6 /meta | |
parent | bb5a3ff0b0331655b44f41d7ca3f8d13066fb083 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 48 |
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 7646ea420e..77519d286f 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -20,7 +20,7 @@ USE_LDCONFIG ?= "1" | |||
20 | PKGSUFFIX = "" | 20 | PKGSUFFIX = "" |
21 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | 21 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" |
22 | 22 | ||
23 | PACKAGES = "${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}" | 23 | PACKAGES = "${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 |
26 | ALLOW_EMPTY_${PN}-binaries = "1" | 26 | ALLOW_EMPTY_${PN}-binaries = "1" |
@@ -42,48 +42,48 @@ ALLOW_EMPTY_${PN}-localedatas = "1" | |||
42 | PACKAGES += "${PN}-localedatas" | 42 | PACKAGES += "${PN}-localedatas" |
43 | RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" | 43 | RRECOMMENDS_${PN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" |
44 | 44 | ||
45 | RPROVIDES_eglibc = "glibc" | 45 | RPROVIDES_${PN} = "glibc${PKGSUFFIX}" |
46 | RPROVIDES_${PN}-utils = "glibc-utils" | 46 | RPROVIDES_${PN}-utils = "glibc${PKGSUFFIX}-utils" |
47 | RPROVIDES_eglibc-pic = "glibc-pic" | 47 | RPROVIDES_${PN}-pic = "glibc${PKGSUFFIX}-pic" |
48 | RPROVIDES_eglibc-dev = "glibc-dev" | 48 | RPROVIDES_${PN}-dev = "glibc${PKGSUFFIX}-dev" |
49 | RPROVIDES_eglibc-doc = "glibc-doc" | 49 | RPROVIDES_${PN}-doc = "glibc${PKGSUFFIX}-doc" |
50 | RPROVIDES_eglibc-extra-nss = "glibc-extra-nss" | 50 | RPROVIDES_eglibc-extra-nss${PKGSUFFIX} = "glibc-extra-nss${PKGSUFFIX}" |
51 | RPROVIDES_eglibc-thread-db = "glibc-thread-db" | 51 | RPROVIDES_eglibc-thread-db${PKGSUFFIX} = "glibc-thread-db${PKGSUFFIX}" |
52 | RPROVIDES_eglibc-pcprofile = "glibc-pcprofile" | 52 | RPROVIDES_${PN}-pcprofile = "glibc${PKGSUFFIX}-pcprofile" |
53 | RPROVIDES_eglibc-dbg = "glibc-dbg" | 53 | RPROVIDES_${PN}-dbg = "glibc-dbg${PKGSUFFIX}" |
54 | libc_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" | 54 | libc_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 | ||
56 | FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}" | 56 | FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}" |
57 | FILES_ldd${PKGSUFFIX} = "${bindir}/ldd" | 57 | FILES_ldd${PKGSUFFIX} = "${bindir}/ldd" |
58 | FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*" | 58 | FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*" |
59 | FILES_libcidn = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*" | 59 | FILES_libcidn{PKGSUFFIX} = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*" |
60 | FILES_libmemusage = "${base_libdir}/libmemusage.so" | 60 | FILES_libmemusage{PKGSUFFIX} = "${base_libdir}/libmemusage.so" |
61 | FILES_eglibc-extra-nss = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*" | 61 | FILES_eglibc-extra-nss{PKGSUFFIX} = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*" |
62 | FILES_sln = "/sbin/sln" | 62 | FILES_sln{PKGSUFFIX} = "/sbin/sln" |
63 | FILES_eglibc-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/" | 63 | FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/" |
64 | FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so" | 64 | FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so" |
65 | FILES_eglibc-dev_append += "${bindir}/rpcgen ${libdir}/*.a \ | 65 | FILES_${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" |
67 | FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" | 67 | FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" |
68 | FILES_eglibc-utils = "${bindir}/* ${sbindir}/*" | 68 | FILES_${PN}-utils = "${bindir}/* ${sbindir}/*" |
69 | FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug" | 69 | FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug" |
70 | FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" | 70 | FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" |
71 | RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" | 71 | RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" |
72 | RDEPENDS_eglibc-utils += "bash" | 72 | RDEPENDS_${PN}-utils += "bash" |
73 | FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so" | 73 | FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so" |
74 | FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so" | 74 | FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so" |
75 | RPROVIDES_eglibc-dev += "libc-dev" | 75 | RPROVIDES_${PN}-dev += "libc-dev" |
76 | 76 | ||
77 | SUMMARY_sln = "The static ln." | 77 | SUMMARY_sln = "The static ln." |
78 | DESCRIPTION_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." | 78 | DESCRIPTION_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." |
79 | SUMMARY_nscd = "Name service cache daemon" | 79 | SUMMARY_nscd = "Name service cache daemon" |
80 | DESCRIPTION_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." | 80 | DESCRIPTION_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." |
81 | SUMMARY_eglibc-extra-nss = "hesiod, NIS and NIS+ nss libraries" | 81 | SUMMARY_eglibc-extra-nss${PKGSUFFIX} = "hesiod, NIS and NIS+ nss libraries" |
82 | DESCRIPTION_eglibc-extra-nss = "eglibc: nis, nisplus and hesiod search services." | 82 | DESCRIPTION_eglibc-extra-nss${PKGSUFFIX} = "eglibc: nis, nisplus and hesiod search services." |
83 | SUMMARY_ldd = "print shared library dependencies" | 83 | SUMMARY_ldd = "print shared library dependencies" |
84 | DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line." | 84 | DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line." |
85 | SUMMARY_eglibc-utils = "Miscellaneous utilities provided by eglibc" | 85 | SUMMARY_${PN}-utils = "Miscellaneous utilities provided by eglibc" |
86 | DESCRIPTION_eglibc-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." | 86 | DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." |
87 | DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" | 87 | DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" |
88 | 88 | ||
89 | inherit libc-common multilib_header | 89 | inherit libc-common multilib_header |