Skip to content

Commit b3b9cb4

Browse files
NB1: Convert sdm660 HALs to msm8998
* Our common blobs are from an sdm660 device so we need to patch the HAL to load them on our platform.
1 parent e70b0e6 commit b3b9cb4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

extract-files.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ function blob_fixup() {
7171
product/lib64/libdpmframework.so)
7272
"${PATCHELF}" --add-needed "libshim_cutils.so" "${2}"
7373
;;
74+
# Convert sdm660 to msm8998
75+
vendor/lib/hw/vulkan.msm8998.so|vendor/lib64/hw/vulkan.msm8998.so)
76+
"${PATCHELF}" --set-soname "vulkan.msm8998.so" "${2}"
77+
;;
78+
vendor/lib/hw/sound_trigger.primary.msm8998.so|vendor/lib64/hw/sound_trigger.primary.msm8998.so)
79+
"${PATCHELF}" --set-soname "sound_trigger.primary.msm8998.so" "${2}"
80+
;;
7481
esac
7582
}
7683

0 commit comments

Comments
 (0)