Factor running config.pl into its own function
Factor running config.pl into its own function

Signed-off-by: Andrzej Kurek <f4c472ffe6ee3dcd17a8925cef48ace45ab528e9@arm.com>
ARMmbed/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls