]> code.ossystems Code Review - openembedded-core.git/commitdiff
uninative: Improve glob to handle glibc 2.34
authorRoss Burton <ross.burton@arm.com>
Fri, 13 Aug 2021 14:59:18 +0000 (15:59 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 20 Oct 2021 14:54:02 +0000 (22:54 +0800)
With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.

[RP: tweak commit message]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98248306e4b5f023e96375293b60524574ebb686)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/uninative.bbclass

index 1e19917a97ff6f855aec5da44e0d3f5695e91577..3c7ccd66f430e7d220747fecfd09ffa594af45e0 100644 (file)
@@ -100,7 +100,7 @@ ${UNINATIVE_STAGING_DIR}-uninative/relocate_sdk.py \
   ${UNINATIVE_LOADER} \
   ${UNINATIVE_LOADER} \
   ${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux/${bindir_native}/patchelf-uninative \
-  ${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux${base_libdir_native}/libc*.so" % chksum)
+  ${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux${base_libdir_native}/libc*.so*" % chksum)
         subprocess.check_output(cmd, shell=True)
 
         with open(loaderchksum, "w") as f: