From 554a1915a8034064fcc8a5b26e386133609295be Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Wed, 19 Oct 2022 22:15:40 +0530 Subject: [PATCH] Add vendor_kernel_boot files to target-files-package * This is a required dependency of target-files-package so that it can be built from a clean build. Test: rm -rf out/target/product && m target-files-package Change-Id: I89e60f47e3e2cd6029a92b1aca505acd9cf4645b --- core/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/Makefile b/core/Makefile index 5af0abdc7d..7fe6d5d7d5 100644 --- a/core/Makefile +++ b/core/Makefile @@ -6345,6 +6345,10 @@ ifdef BUILDING_VENDOR_BOOT_IMAGE endif endif +ifdef BUILDING_VENDOR_KERNEL_BOOT_IMAGE + $(BUILT_TARGET_FILES_PACKAGE): $(INSTALLED_FILES_FILE_VENDOR_KERNEL_RAMDISK) +endif + ifdef BUILDING_RECOVERY_IMAGE # TODO(b/30414428): Can't depend on INTERNAL_RECOVERYIMAGE_FILES alone like other # BUILT_TARGET_FILES_PACKAGE dependencies because currently there're cp/rsync/rm