From df77b0204112df5c551e83b59d10d6fcea373eba Mon Sep 17 00:00:00 2001 From: jjpprrrr Date: Wed, 24 Nov 2021 20:45:42 +0100 Subject: [PATCH] sdm710-common: let's not deal with ELF file copies for now Basically any non-plain-text files in our proprietary file list are ELF binaries. Granted that I can use llvm-readobj to check the headers and build them through cc_prebuilt_binary or cc_prebuilt_library_shared one by one, but the result is kind of pointless. The purpose of cc_prebuilt_binary is to track dependencies by running check_elf_file.py on them. We have so many proprietary blobs that it is nearly impossible (and sometimes impractical and undesirable) to define dependencies. --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 1cf0985..6dd7eae 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -19,6 +19,7 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a75 BUILD_BROKEN_DUP_RULES := true BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true +BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true # Bootloader TARGET_BOOTLOADER_BOARD_NAME := sdm710