TODO: add some ideas of stuff to work on

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
fix compilation on MacOS X

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
awimage: add DIR_DEF group to image.cfg

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
awimage: also generate image.cfg for "unpacker" mode.

As the upcoming "repacker" functionality will use the image.cfg
as input of how to reconstruct the image, we need the the file
in all output modes.

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>