From c7b837872d19b64dff2f9596ac047a92ffbd7ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Cl=C3=A9ment=20Tosi?= Date: Thu, 12 May 2022 16:25:34 +0100 Subject: [PATCH] Create $(zip_root)/PVMFW & archive prebuilt used It might be useful to have access to the prebuilt that the Android build used to create the pvmfw partition so add a new directory (similarly to other partitions) containing the prebuilt (which is also the only content of the partition). This is particularly useful in ATC, when detecting if the prebuilt was updated by the build. Bug: 232253742 Test: m Change-Id: I1116d91ffb073821568bcaeed30bbb43873dcafa --- core/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/Makefile b/core/Makefile index 94b48039bf..e81ef50f68 100644 --- a/core/Makefile +++ b/core/Makefile @@ -5974,6 +5974,8 @@ ifeq ($(BOARD_USES_PVMFWIMAGE),true) $(hide) mkdir -p $(zip_root)/PREBUILT_IMAGES $(hide) cp $(INSTALLED_PVMFWIMAGE_TARGET) $(zip_root)/PREBUILT_IMAGES/ $(hide) cp $(INSTALLED_PVMFW_EMBEDDED_AVBKEY_TARGET) $(zip_root)/PREBUILT_IMAGES/ + $(hide) mkdir -p $(zip_root)/PVMFW + $(hide) cp $(PREBUILT_PVMFWIMAGE_TARGET) $(zip_root)/PVMFW/ endif ifdef BOARD_PREBUILT_BOOTLOADER $(hide) mkdir -p $(zip_root)/IMAGES