am 4365dcec: am 38868b9b: Merge "BuildBootImage: Add secondstage image support"

* commit '4365dcece2ee9a4e91c3556d4f9a88c1cbe98dbd':
  BuildBootImage: Add secondstage image support
This commit is contained in:
Ying Wang
2014-07-31 17:31:08 +00:00
committed by Android Git Automerger

View File

@@ -303,6 +303,11 @@ def BuildBootableImage(sourcedir, fs_config_file, info_dict=None):
cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
fn = os.path.join(sourcedir, "second")
if os.access(fn, os.F_OK):
cmd.append("--second")
cmd.append(fn)
fn = os.path.join(sourcedir, "cmdline")
if os.access(fn, os.F_OK):
cmd.append("--cmdline")