Revert "Revert "Add check for local OTA_FROM_TARGET_SCRIPT""

This reverts commit 22cde701c45b4a4db2eb2d7e10954bf165454aa2.
add support for custom releasetools

Conflicts:

	core/Makefile