Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 9e32251d authored by Ameya Thakur's avatar Ameya Thakur Committed by Michael Bestas
Browse files

build: releasetools: ota: Add support for 32-64 bit upgrades

We now use the new API to determine if the update package is compatible
with the device it is currently being applied on or not. We also use the
32 bit updater libraries while compiling the ota package

Change-Id: I4d1d2bd90e03e6f4b2f786d25c6d02f62243c3f3
parent a4c8096d
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1691,8 +1691,11 @@ built_ota_tools :=

# We can't build static executables when SANITIZE_TARGET=address
ifeq ($(strip $(SANITIZE_TARGET)),)
built_ota_tools += \
    $(call intermediates-dir-for,EXECUTABLES,updater,,,$(TARGET_PREFER_32_BIT))/updater
ifeq ($(TARGET_ARCH),arm64)
	built_ota_tools += $(call intermediates-dir-for,EXECUTABLES,updater,,,32)/updater
else
	built_ota_tools += $(call intermediates-dir-for,EXECUTABLES,updater)/updater
endif
endif

$(BUILT_TARGET_FILES_PACKAGE): PRIVATE_OTA_TOOLS := $(built_ota_tools)