Tools: Allow file generation without cmake

Alter file generation to pick up variables from the environment, as well
as cmake, to allow integration into environments that don't run the
cmake.

Change-Id: Iac921ba69a01459a5959828e3825cd8e901e3a96
Signed-off-by: Raef Coles <raef.coles@arm.com>
5 files changed