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:
@@ -17,6 +17,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}"
|
||||||
|
|||||||
@@ -18,6 +18,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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user