summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-11-18 14:59:17 +0530
committerJohn Stultz <john.stultz@linaro.org>2022-01-14 00:26:03 +0000
commitfbd3fbbd53128af13d41ed94d4d47f3c782a7b28 (patch)
treeccb254dfcb7d11a1207ae6e0269e0cc12dc8bae2 /BoardConfigCommon.mk
parent46a01ce97449e3882f61aaf7b28dc48927b6a661 (diff)
dragonboards: Move firmware files to external vendor overlay package
Moving all the vendor binaries (including bootloader, qdl and firmware binaries) to an external vendor.tgz package to be downloaded from: https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220106.tgz BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES build flag is used to copy a few vendor firmware files to ramdisk or vendor_ramdisk to work-around the dependency of their drivers on FW_LOADER_USER_HELPER_FALLBACK kernel config. And for that we needed to bump up the boot and vendor_boot partition sizes as well. Also folded John's installer script changes into this patch. Change-Id: I1b46ee17f4a218c735e2ac8d81759364b3bf7332 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> [Reworked to handle versioned vendor/linaro/<dev> paths] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index b879d96..887a6f0 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -80,3 +80,7 @@ ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT_PIC := true
endif
endif
+
+# Copy firmware files to ramdisk/vendor_ramdisk to workaround
+# the dependency on FW_LOADER_USER_HELPER_FALLBACK kernel config
+BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true