diff options
| -rw-r--r-- | meta/recipes-core/glibc/glibc_2.39.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb index 2484ae1cd9..411d226ef6 100644 --- a/meta/recipes-core/glibc/glibc_2.39.bb +++ b/meta/recipes-core/glibc/glibc_2.39.bb | |||
| @@ -128,4 +128,15 @@ do_compile () { | |||
| 128 | 128 | ||
| 129 | require glibc-package.inc | 129 | require glibc-package.inc |
| 130 | 130 | ||
| 131 | # When upgrading glibc it's important to know if there are any new symbols | ||
| 132 | # that pseudo needs to wrap. In the future a generalised ABI comparison tool | ||
| 133 | # would be good, but to solve the immediate need we can simply list the | ||
| 134 | # exported symbols to files in WORKDIR. | ||
| 135 | do_symlist() { | ||
| 136 | for LIB in ${D}${base_libdir}/lib*.so.*; do | ||
| 137 | ${NM} --dynamic $LIB | awk --source '$2 == "T" { print $3 }' | sort > ${WORKDIR}/$(basename $LIB)-${PV}.symbols | ||
| 138 | done | ||
| 139 | } | ||
| 140 | addtask symlist after do_install | ||
| 141 | |||
| 131 | BBCLASSEXTEND = "nativesdk" | 142 | BBCLASSEXTEND = "nativesdk" |
