From 27f36d1bc80a4092f157845f86faf02d36517c18 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 7 Jul 2023 11:21:35 -0700 Subject: [PATCH] Dist kernel_version.txt Fixes: 290361803 Test: treehugger Change-Id: I146817c9cf256f086404c880a0215cb8e688c544 --- core/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 7c124a9429..58e7042ca1 100644 --- a/core/Makefile +++ b/core/Makefile @@ -4999,7 +4999,9 @@ my_board_extracted_kernel := true endif # INSTALLED_BOOTIMAGE_TARGET endif # my_board_extracted_kernel -ifneq ($(my_board_extracted_kernel),true) +ifeq ($(my_board_extracted_kernel),true) +$(call dist-for-goals, droid_targets, $(BUILT_KERNEL_VERSION_FILE)) +else $(warning Neither INSTALLED_KERNEL_TARGET nor INSTALLED_BOOTIMAGE_TARGET is defined when \ PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS is true. Information about the updated kernel \ cannot be built into OTA update package. You can fix this by: \