sm8150-common: Fix blobs that referenced set_sched_policy
* This is now moved to libcutils Change-Id: I9e204235efc62059f07127a2df455f911dc936b7
This commit is contained in:
parent
db379db24f
commit
48da5cc682
|
@ -17,6 +17,12 @@
|
|||
|
||||
set -e
|
||||
|
||||
function replace_dependency() {
|
||||
for arg in ${@:3}; do
|
||||
patchelf --replace-needed $1 $2 $arg
|
||||
done
|
||||
}
|
||||
|
||||
DEVICE_COMMON=sm8150-common
|
||||
VENDOR=oneplus
|
||||
|
||||
|
@ -74,4 +80,6 @@ sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x0
|
|||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${COMMON_BLOB_ROOT}/lib64/liblocationservice_jni.so"
|
||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${COMMON_BLOB_ROOT}/lib64/libxt_native.so"
|
||||
|
||||
replace_dependency "libcutils.so" "libprocessgroup.so" "${COMMON_BLOB_ROOT}/vendor/lib/libgps.utils.so" "${COMMON_BLOB_ROOT}/vendor/lib64/libgps.utils.so" "${COMMON_BLOB_ROOT}/vendor/lib/hw/audio.primary.msmnile.so" "${COMMON_BLOB_ROOT}/vendor/lib64/hw/audio.primary.msmnile.so"
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
|
|
Loading…
Reference in New Issue