extract-utils: Rework firmware extraction support
This allows extracting firmware from factory images.
The following changes have been made:
* Remove filesmap support, this is not used in AOSP releasetools.
* Remove directory check, append_firmware_calls_to_makefiles() is opt-in
and if some device calls it, firmware will always exist.
* Implement append_firmware_ab_ota_to_makefiles() to automatically
append firmware images to AB_OTA_PARTITIONS
* Add support for source:target firmware extraction and AB argument
TODO: extract firmware from OTA images
Change-Id: Ib2158925f53657af949a186200c9e98e1a4db810
1 file changed