From 0739aa6e5a4f73a25e10a215341c7c16641fe13f Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Wed, 14 Aug 2024 01:44:45 -0500 Subject: [PATCH] miuicamera: Enable elf checks Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e --- extract-files.sh | 2 ++ setup-makefiles.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 8528477..99e1ffd 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -16,6 +16,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}" diff --git a/setup-makefiles.sh b/setup-makefiles.sh index efc2c62..ed509ad 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -16,6 +16,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}"