scons,python: Add warning for when python3-config is not used

We cannot say for certain whether 'python-config' is python2 or python3,
but this patch will produce a warning if 'python3-config' is not used,
stating that support for python2 will be dropped in future releases of

Change-Id: I114da359c8768071bf7dd7f2701aae85e3459678
Reviewed-by: Jason Lowe-Power <>
Reviewed-by: Andreas Sandberg <>
Maintainer: Jason Lowe-Power <>
Maintainer: Andreas Sandberg <>
Tested-by: kokoro <>
1 file changed