summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-20 17:10:49 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-20 17:10:49 +0000
commit6ebcb5796856d2b429d46eec78b2776153ddd547 (patch)
tree6333afca4553e93b1c5380ad832468ea0d62ab7a /meta/classes
parent46fbe4cd80495378b8d82cf40eb9c078fa7cec24 (diff)
downloadpoky-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.bbclass25
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
15libc_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*" 15libc_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
17FILES_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
21glibcfiles = "${sysconfdir} ${libc_baselibs} ${base_sbindir}/ldconfig ${libexecdir}/* ${datadir}/zoneinfo"
22glibcdbgfiles = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \
23 ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \
24 ${libdir}/gconv/.debug ${libexecdir}/*/.debug"
25glibcdevfiles = "${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
29FILES_glibc = "${glibcfiles}"
30FILES_${PN} = "${glibcfiles}"
18FILES_ldd = "${bindir}/ldd" 31FILES_ldd = "${bindir}/ldd"
19FILES_libsegfault = "${base_libdir}/libSegFault*" 32FILES_libsegfault = "${base_libdir}/libSegFault*"
20FILES_glibc-extra-nss = "${base_libdir}/libnss*" 33FILES_glibc-extra-nss = "${base_libdir}/libnss*"
21FILES_sln = "${base_sbindir}/sln" 34FILES_sln = "${base_sbindir}/sln"
22FILES_glibc-dev = "${bindir}/rpcgen ${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \ 35FILES_glibc-dev = "${glibcdevfiles}"
23 ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ 36FILES_${PN}-dev = "${glibcdevfiles}"
24 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" 37FILES_glibc-dbg = "${glibcdbgfiles}"
38FILES_${PN}-dbg = "${glibcdbgfiles}"
25FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/nscd* ${sysconfdir}/init.d/nscd*" 39FILES_nscd = "${sbindir}/nscd* ${sysconfdir}/nscd* ${sysconfdir}/init.d/nscd*"
26FILES_glibc-utils = "${bindir}/* ${sbindir}/*" 40FILES_glibc-utils = "${bindir}/* ${sbindir}/*"
27FILES_glibc-gconv = "${libdir}/gconv/*" 41FILES_glibc-gconv = "${libdir}/gconv/*"
28FILES_glibc-dbg = "${bindir}/.debug ${sbindir}/.debug ${libdir}/.debug \
29 ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug \
30 ${libdir}/gconv/.debug ${libexecdir}/*/.debug"
31FILES_catchsegv = "${bindir}/catchsegv" 42FILES_catchsegv = "${bindir}/catchsegv"
32RDEPENDS_catchsegv = "libsegfault" 43RDEPENDS_catchsegv = "libsegfault"
33FILES_glibc-pcprofile = "${base_libdir}/libpcprofile.so" 44FILES_glibc-pcprofile = "${base_libdir}/libpcprofile.so"