mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
Revert "sm6375-common: extract-files: allow extracting proprietary-files for recovery"
This reverts commit 62eb368550.
This commit is contained in:
@@ -71,9 +71,6 @@ if [ -z "${ONLY_COMMON}" ] && [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt
|
|||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||||
|
|
||||||
extract "${MY_DIR}/../${DEVICE}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
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
|
fi
|
||||||
|
|
||||||
"${MY_DIR}/setup-makefiles.sh"
|
"${MY_DIR}/setup-makefiles.sh"
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ if [ -s "${MY_DIR}/../${DEVICE}/proprietary-files.txt" ]; then
|
|||||||
# The standard device blobs
|
# The standard device blobs
|
||||||
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
|
write_makefiles "${MY_DIR}/../${DEVICE}/proprietary-files.txt" true
|
||||||
|
|
||||||
echo "TARGET_RECOVERY_DEVICE_DIRS += vendor/$VENDOR/$DEVICE/proprietary" >> "$BOARDMK"
|
|
||||||
|
|
||||||
# Finish
|
# Finish
|
||||||
write_footers
|
write_footers
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user