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>
Sat, 19 Dec 2015 01:16:32 +0000 (17:16 -0800)
commitd80bef2b9e7aa5f92ab017247442798f47736566
tree7e8d0a8201e752ab82cf761759f3302061dc46e3
parent668cc135eb1f9a0f083bafd31b7ef3d247afc521
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
core/Makefile
tools/releasetools/common.py
tools/releasetools/ota_from_target_files.py