Skip to content

Commit 09539d7

Browse files
Brint E. KriebelSteve Kondik
authored andcommitted
Revert "Revert "build: Handle custom boot images properly""
This is still needed, per this discussion here: http://review.cyanogenmod.org/#/c/76919/ This reverts commit 78d216b. Change-Id: If494c2c6468185bc0e10cdb92847a9f8429b79c4
1 parent b3c4377 commit 09539d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,6 +1536,12 @@ endif
15361536
@# Contents of the data image
15371537
$(hide) $(call package_files-copy-root, \
15381538
$(TARGET_OUT_DATA),$(zip_root)/DATA)
1539+
ifdef BOARD_CUSTOM_BOOTIMG
1540+
@# Prebuilt boot images
1541+
$(hide) mkdir -p $(zip_root)/BOOTABLE_IMAGES
1542+
$(hide) $(ACP) $(INSTALLED_BOOTIMAGE_TARGET) $(zip_root)/BOOTABLE_IMAGES/
1543+
$(hide) $(ACP) $(INSTALLED_RECOVERYIMAGE_TARGET) $(zip_root)/BOOTABLE_IMAGES/
1544+
endif
15391545
ifdef BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE
15401546
@# Contents of the vendor image
15411547
$(hide) $(call package_files-copy-root, \

0 commit comments

Comments
 (0)