OSDN Git Service

Allow building recovery as boot.
authorDaniel Rosenberg <drosen@google.com>
Wed, 11 Nov 2015 03:21:34 +0000 (19:21 -0800)
committerTao Bao <tbao@google.com>
Mon, 21 Dec 2015 19:17:08 +0000 (11:17 -0800)
commit40ef35b9e916163bc408d6d9945f92f012885d33
treee905933f09e2301c38e73c0af411d984733db7ca
parent18733b9b0c2a1c3b9b6a2808497f47be076c9561
Allow building recovery as boot.

With BOARD_USES_RECOVERY_AS_BOOT = true, we skip building the
non-ramdisk boot.img but building the recovery image as boot.img. It
contains recovery's ramdisk (e.g. with /sbin/recovery). It depends on
the bootloader parameter (skip_initramfs) to determine the actual mode
to boot into.

Change-Id: Id6e2d0a2b94383944ca8f35bba688c6401745622
(cherry picked from commit d80bef2b9e7aa5f92ab017247442798f47736566)
core/Makefile
tools/releasetools/common.py
tools/releasetools/ota_from_target_files.py