gts3l-common: camera: Patch to use a firmware under the vendor directory

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4b991e118654c11f00a41d8b3c20efb7da675b3c
This commit is contained in:
Deokgyu Yang 2021-08-21 01:53:41 +09:00
parent e5a5e9fa5d
commit 9f0f9e4510

View file

@ -63,6 +63,9 @@ function blob_fixup() {
vendor/lib/libwvhidl.so)
"${PATCHELF}" --replace-needed "libprotobuf-cpp-lite.so" "libprotobuf-cpp-lite-v28.so" "${2}"
;;
vendor/lib/libmmcamera2_sensor_modules.so)
sed -i "s|/system/etc/firmware|/vendor/firmware\x0\x0\x0\x0|g" "${2}"
;;
esac
}