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
diff --git a/core/Makefile b/core/Makefile
index 20639ca..c650022 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -2124,6 +2124,7 @@
$(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 9f3ebea..e733895 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -1529,7 +1529,9 @@
$(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.