MiuiCamera: scripts: Enable ELF Checks

Inspired from sm8250-common: Enable elf checks [b31a797317]

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
This commit is contained in:
johnmart19
2024-10-07 21:41:40 +03:00
parent fa38eef530
commit d64a3c06cc
2 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"