sm8550-common: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user