diff --git a/extract-files.sh b/extract-files.sh index 06197d6..bf62be5 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -13,6 +13,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 9b4c04f..748bf56 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -13,6 +13,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}"