sm8250-common: Switch to blob_fixup()
Change-Id: Ic828da86cfe44a660c1e48a603ba48d584dfc755
This commit is contained in:
parent
f9501c93a7
commit
d996e39f61
1 changed files with 8 additions and 2 deletions
|
@ -30,6 +30,14 @@ if [ ! -f "${HELPER}" ]; then
|
|||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
lib64/libwfdnative.so)
|
||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
|
@ -76,6 +84,4 @@ fi
|
|||
|
||||
COMMON_BLOB_ROOT="${LINEAGE_ROOT}/vendor/${VENDOR}/${DEVICE_COMMON}/proprietary"
|
||||
|
||||
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/libwfdnative.so"
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
|
|
Loading…
Reference in a new issue