1inherit linuxloader 2 3GLIBC_GETLOADER = "${@get_linuxloader(d)}" 4 5def glibc_dl_info(d): 6 infos = {'ldconfig':set(), 'lddrewrite':set()} 7 8 loaders = all_multilib_tune_values(d, "GLIBC_GETLOADER").split() 9 for loader in loaders: 10 infos['ldconfig'].add('{"' + loader + '",' + "FLAG_ELF_LIBC6" + ' }') 11 infos['lddrewrite'].add(loader) 12 13 infos['ldconfig'] = ','.join(sorted(infos['ldconfig'])) 14 infos['lddrewrite'] = ' '.join(sorted(infos['lddrewrite'])) 15 return infos 16 17EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}" 18RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}" 19RTLDLIST_class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}" 20glibc_dl_info[vardepsexclude] = "OVERRIDES" 21