From: Aaron Kling Date: Wed, 14 Aug 2024 06:44:45 +0000 (-0500) Subject: g12a: Enable elf checks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b3ebfef4ac7122541d4268414140834c4232b7f;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12a: Enable elf checks Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e --- diff --git a/extract-files.sh b/extract-files.sh index 463c49a..e7183b0 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -14,6 +14,8 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi ANDROID_ROOT="${MY_DIR}/../../.." +export TARGET_ENABLE_CHECKELF=true + # If XML files don't have comments before the XML header, use this flag # Can still be used with broken XML files by using blob_fixup export TARGET_DISABLE_XML_FIXING=true diff --git a/setup-makefiles.sh b/setup-makefiles.sh index f03b730..67e3938 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -14,6 +14,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}"