OSDN Git Service

Honor TARGET_NO_RECOVERY flag.
authorTao Bao <tbao@google.com>
Wed, 28 Oct 2015 02:25:18 +0000 (19:25 -0700)
committerRom Lemarchand <romlem@google.com>
Mon, 16 Nov 2015 20:02:24 +0000 (12:02 -0800)
commit37b96ef26bafb6f9d9f3e5bea57c70f84d68399c
treec6ed146a2e77ba0aa78b6527b75cd268f12d6185
parent116977c7dba5ff79d1119a30966f918d72efedeb
Honor TARGET_NO_RECOVERY flag.

Don't generate recovery.img when calling 'make dist' if
TARGET_NO_RECOVERY is set. The build system passes the flag to the
packaging script which then generates recovery.img conditionally.

Bug: 25329471
Change-Id: Ia7f08943834ee39e781d7e9b5beb1b31d95a73d9
(cherry picked from commit db45efa64764c1de5c007384ab172ad817e1d295)
core/Makefile
tools/releasetools/add_img_to_target_files.py
tools/releasetools/img_from_target_files.py
tools/releasetools/ota_from_target_files.py