From 4d6017d5190e0d2cfdd78ced1757b34d7ca08ab6 Mon Sep 17 00:00:00 2001 From: Daniel Mentz Date: Thu, 19 Dec 2019 20:48:43 -0800 Subject: [PATCH] Dist ramdisk-recovery.img and misc_info.txt Dist ramdisk-recovery.img and misc_info.txt. This is useful for re-creating boot.img without having to download a huge target_files zip file. Change-Id: I2e1c1d547c95ca3433f89c68428c0c98fa4d19cd --- core/Makefile | 1 + core/main.mk | 2 ++ 2 files changed, 3 insertions(+) diff --git a/core/Makefile b/core/Makefile index 20639cabf..c65002271 100644 --- a/core/Makefile +++ b/core/Makefile @@ -2124,6 +2124,7 @@ $(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTFS) $(MKBOOTIMG) $(MINIGZIP) \ $(recovery_fstab) $(call pretty,"Target boot image from recovery: $@") $(call build-recoveryimage-target, $@) +$(INSTALLED_BOOTIMAGE_TARGET): .KATI_IMPLICIT_OUTPUTS += $(recovery_ramdisk) endif # BOARD_USES_RECOVERY_AS_BOOT ifdef BOARD_INCLUDE_RECOVERY_DTBO diff --git a/core/main.mk b/core/main.mk index 9f3ebea1b..e7338953f 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1529,7 +1529,9 @@ else # TARGET_BUILD_APPS $(INSTALLED_BUILD_PROP_TARGET) \ $(BUILT_TARGET_FILES_PACKAGE) \ $(INSTALLED_ANDROID_INFO_TXT_TARGET) \ + $(INSTALLED_MISC_INFO_TARGET) \ $(INSTALLED_RAMDISK_TARGET) \ + $(recovery_ramdisk) \ ) # Put a copy of the radio/bootloader files in the dist dir.