build: Add script to generate extra images

Change-Id: I53081c7a2b4f18bc8c8a27b04d311a6b078b2022
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2