sm8550-common: Resolve missing symbols on libqcodec2_core

Change-Id: I300d78733f07b7fe1ba6b5066d02f49eefbeb54a
This commit is contained in:
Bruno Martins
2024-10-11 14:25:42 -03:00
committed by chaptsand
parent be663cd1bd
commit 55f9c104a1

View File

@@ -102,6 +102,10 @@ function blob_fixup() {
grep -q "gettid: 1" "${2}" || echo -e "\ngettid: 1" >> "${2}" grep -q "gettid: 1" "${2}" || echo -e "\ngettid: 1" >> "${2}"
grep -q "pipe2: 1" "${2}" || echo -e "\npipe2: 1" >> "${2}" grep -q "pipe2: 1" "${2}" || echo -e "\npipe2: 1" >> "${2}"
;; ;;
vendor/lib64/libqcodec2_core.so)
[ "$2" = "" ] && return 0
grep -q "libcodec2_shim.so" "${2}" || "${PATCHELF}" --add-needed "libcodec2_shim.so" "${2}"
;;
vendor/etc/init/vendor.qti.media.c2audio@1.0-service.rc) vendor/etc/init/vendor.qti.media.c2audio@1.0-service.rc)
[ "$2" = "" ] && return 0 [ "$2" = "" ] && return 0
sed -i '/disabled/d' "${2}" sed -i '/disabled/d' "${2}"