diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 17:10:49 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 17:10:49 +0000 |
commit | 6ebcb5796856d2b429d46eec78b2776153ddd547 (patch) | |
tree | 6333afca4553e93b1c5380ad832468ea0d62ab7a /meta/classes | |
parent | 46fbe4cd80495378b8d82cf40eb9c078fa7cec24 (diff) | |
download | poky-6ebcb5796856d2b429d46eec78b2776153ddd547.tar.gz |
glibc-package.bbclass: Fix the case PN == glibc
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/glibc-package.bbclass | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/meta/classes/glibc-package.bbclass b/meta/classes/glibc-package.bbclass index e64b5b8956..cef888c54e 100644 --- a/meta/classes/glibc-package.bbclass +++ b/meta/classes/glibc-package.bbclass | |||
@@ -14,20 +14,31 @@ PACKAGES_DYNAMIC = "glibc-gconv-* glibc-charmap-* glibc-localedata-* locale-base | |||
14 | 14 | ||
15 | libc_baselibs = "${base_libdir}/libc* ${base_libdir}/libm* ${base_libdir}/ld* ${base_libdir}/libpthread* ${base_libdir}/libresolv* ${base_libdir}/librt* ${base_libdir}/libutil* ${base_libdir}/libnsl* ${base_libdir}/libnss_files* ${base_libdir}/libnss_compat* ${base_libdir}/libnss_dns* ${base_libdir}/libdl* ${base_libdir}/libanl* ${base_libdir}/libBrokenLocale*" | 15 | libc_baselibs = "${base_libdir}/libc* ${base_libdir}/libm* ${base_libdir}/ld* ${base_libdir}/libpthread* ${base_libdir}/libresolv* ${base_libdir}/librt* ${base_libdir}/libutil* ${base_libdir}/libnsl* ${base_libdir}/libnss_files* ${base_libdir}/libnss_compat* ${base_libdir}/libnss_dns* ${base_libdir}/libdl* ${base_libdir}/libanl* ${base_libdir}/libBrokenLocale*" |
16 | 16 | ||
17 | FILES_glibc = "${sysconfdir} ${libc_baselibs} ${base_sbindir}/ldconfig ${libexecdir}/* ${datadir}/zoneinfo" | 17 | |
18 | # The problem is that if PN = "glibc", FILES_${PN} will overwrite FILES_glibc | ||
19 | # Solution: Make them both the same thing, then it doesn't matter | ||
20 | |||
21 | glibcfiles = "${sysconfdir} ${libc_baselibs} ${base_sbindir}/ldconfig ${libexecdir}/* ${datadir}/zoneinfo" | ||
22 | glibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ | ||
23 | ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \ | ||
24 | ${libdir}/gconv/.debug ${libexecdir}/*/.debug" | ||
25 | glibcdevfiles = "${bindir}/rpcgen ${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \ | ||
26 | ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ | ||
27 | ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" | ||
28 | |||
29 | FILES_glibc = "${glibcfiles}" | ||
30 | FILES_${PN} = "${glibcfiles}" | ||
18 | FILES_ldd = "${bindir}/ldd" | 31 | FILES_ldd = "${bindir}/ldd" |
19 | FILES_libsegfault = "${base_libdir}/libSegFault*" | 32 | FILES_libsegfault = "${base_libdir}/libSegFault*" |
20 | FILES_glibc-extra-nss = "${base_libdir}/libnss*" | 33 | FILES_glibc-extra-nss = "${base_libdir}/libnss*" |
21 | FILES_sln = "${base_sbindir}/sln" | 34 | FILES_sln = "${base_sbindir}/sln" |
22 | FILES_glibc-dev = "${bindir}/rpcgen ${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \ | 35 | FILES_glibc-dev = "${glibcdevfiles}" |
23 | ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ | 36 | FILES_${PN}-dev = "${glibcdevfiles}" |
24 | ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" | 37 | FILES_glibc-dbg = "${glibcdbgfiles}" |
38 | FILES_${PN}-dbg = "${glibcdbgfiles}" | ||
25 | FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/nscd* ${sysconfdir}/init.d/nscd*" | 39 | FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/nscd* ${sysconfdir}/init.d/nscd*" |
26 | FILES_glibc-utils = "${bindir}/* ${sbindir}/*" | 40 | FILES_glibc-utils = "${bindir}/* ${sbindir}/*" |
27 | FILES_glibc-gconv = "${libdir}/gconv/*" | 41 | FILES_glibc-gconv = "${libdir}/gconv/*" |
28 | FILES_glibc-dbg = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \ | ||
29 | ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \ | ||
30 | ${libdir}/gconv/.debug ${libexecdir}/*/.debug" | ||
31 | FILES_catchsegv = "${bindir}/catchsegv" | 42 | FILES_catchsegv = "${bindir}/catchsegv" |
32 | RDEPENDS_catchsegv = "libsegfault" | 43 | RDEPENDS_catchsegv = "libsegfault" |
33 | FILES_glibc-pcprofile = "${base_libdir}/libpcprofile.so" | 44 | FILES_glibc-pcprofile = "${base_libdir}/libpcprofile.so" |