sm6150-common: Enable elf checks

Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
This commit is contained in:
Aaron Kling 2024-08-14 01:44:45 -05:00 committed by basamaryan
parent d38034e17b
commit 0373b442e2
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.." ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
# If XML files don't have comments before the XML header, use this flag # 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 # Can still be used with broken XML files by using blob_fixup
export TARGET_DISABLE_XML_FIXING=true export TARGET_DISABLE_XML_FIXING=true

View File

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