mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 11:33:32 +00:00
sm6375-common: extract-files: allow extracting proprietary-files for recovery
* we'll be using this to extract touchscreen firmware for recovery Change-Id: I64745ff5823adee79016eabb772265aae3c06f3c
This commit is contained in:
@@ -71,6 +71,9 @@ if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||
|
||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files-recovery.txt" ]; then
|
||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files-recovery.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
fi
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
|
||||
@@ -43,6 +43,8 @@ if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
||||
# The standard device blobs
|
||||
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
|
||||
|
||||
echo "TARGET_RECOVERY_DEVICE_DIRS += vendor/$VENDOR/$DEVICE/proprietary" >> "$BOARDMK"
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user