mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-06 03:50:00 +02:00
twolip: Move shims compilation to device specific
Change-Id: If745b3adecbe5ae1368f2a682fd5965b668c4588
This commit is contained in:
parent
93d7625156
commit
dbfd73e292
2 changed files with 12 additions and 0 deletions
|
@ -23,3 +23,11 @@ export DEVICE_BRINGUP_YEAR=2019
|
|||
export DEVICE_COMMON=sdm660-common
|
||||
|
||||
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh "$@"
|
||||
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
|
||||
|
||||
LINEAGE_ROOT="$MY_DIR"/../../..
|
||||
DEVICE_BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary
|
||||
|
||||
patchelf --add-needed libcamera_sdm660_shim.so "$DEVICE_BLOB_ROOT"/vendor/lib/hw/camera.sdm660.so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue