From d4c9d8c4745df896e3a4e2871b30ac39cac1bd28 Mon Sep 17 00:00:00 2001 From: adi8900 Date: Thu, 3 Jun 2021 19:58:02 +0200 Subject: [PATCH] davinci: Move camera.qcom.so patching into common [1/2] * 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 --- extract-files.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index fd4c704..6a20ed6 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -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" "$@"