sm8550-common: Prevent adding same dependency twice in blob_fixup

Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
This commit is contained in:
LuK1337
2022-10-15 23:05:18 +02:00
committed by chaptsand
parent 829859870c
commit 4991f27689

View File

@@ -61,7 +61,7 @@ fi
function blob_fixup() { function blob_fixup() {
case "${1}" in case "${1}" in
vendor/bin/hw/android.hardware.security.keymint-service) vendor/bin/hw/android.hardware.security.keymint-service)
${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
;; ;;
esac esac
} }