0512140812 - Mergebot : Merge manual pull request from upstream source for build with the following commits:

commit 0b34286101144ab97302e345fd81dda445824c89
Author:     Pawit Pornkitprasan <p.pawit@gmail.com>
AuthorDate: Sat May 10 13:21:15 2014 +0700
Commit:     Brint E. Kriebel <bekit@cyngn.com>
CommitDate: Sat May 10 22:38:59 2014 +0000

    releasetools: bring back boot.img handling

    This is required for galaxysmtd and other devices with custom
    boot format.

    This partially reverts "releasetools: Properly handle boot images that use dt"

    Change-Id: Ib35001c2d9b906067e5a3c84712dc3a283a38cbb

commit adf86225bdbf763f85d5fd162270f3ff11fe75b4
Author:     Andrew Bartholomew <andrewb03@gmail.com>
AuthorDate: Sat May 10 10:58:07 2014 -0400
Commit:     Andrew Bartholomew <andrewb03@gmail.com>
CommitDate: Sat May 10 10:58:07 2014 -0400

    build: use /usr/bin/env to call python

    Hardcoding the path to python instead of env is not recommended.  This
    can break the build in some Linux environments that link /usr/bin/python
    to python3.

    Change-Id: I4c62eb391acc6d468ce24ac8640834e965e76e78

commit 955d61ba00f3021d31a201107e9de1f416fe7d47
Author:     Brint E. Kriebel <bekit@cyngn.com>
AuthorDate: Thu May 8 17:55:53 2014 -0700
Commit:     Brint E. Kriebel <bekit@cyngn.com>
CommitDate: Thu May 8 17:57:19 2014 -0700

    releasetools: Fix whitespace error for INSTALLED_DTIMAGE_TARGET

    Copy/paste produced spaces instead of a tab; fix that

    Change-Id: I937e5f6ffd2c947c77dc4baa7427b170c1ea4bcd

commit b8ae759ce49c8b927f2f6208538fb00951f02a96
Author:     Brint E. Kriebel <bekit@cyngn.com>
AuthorDate: Wed May 7 17:55:40 2014 -0700
Commit:     Brint E. Kriebel <bekit@cyngn.com>
CommitDate: Fri May 9 00:05:34 2014 +0000

    releasetools: Properly handle boot images that use dt

    Instead of using a prebuilt boot/recovery image, bring the dt image
    into the target files package and use it during package creation

    Change-Id: I70ecf74423aad95a3eb8e085029c37450ae354a2