Skip to content

Commit

Permalink
davinci: Move camera.qcom.so patching into common [1/2]
Browse files Browse the repository at this point in the history
* camxoverridesettings.txt also being patching by common tree extract-files.sh and it works
* having it in davinci tree just doesn't patch the lib as should from megvii deps, it is annoying for patching it manually after using extract-files script.

Signed-off-by: adi8900 <[email protected]>
  • Loading branch information
adi8900 committed Jun 3, 2021
1 parent d2b175d commit d4c9d8c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,4 @@ export VENDOR=xiaomi

export DEVICE_BRINGUP_YEAR=2019

function blob_fixup() {
case "${1}" in
vendor/lib64/hw/camera.qcom.so)
patchelf --remove-needed "libMegviiFacepp-0.5.2.so" "${2}"
patchelf --remove-needed "libmegface.so" "${2}"
patchelf --add-needed "libshim_megvii.so" "${2}"
;;
esac
}

"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"

0 comments on commit d4c9d8c

Please sign in to comment.