scons: Override the "default" tool to set up the default env.
authorGabe Black <gabeblack@google.com>
Thu, 9 Nov 2017 01:35:22 +0000 (17:35 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 10 Nov 2017 13:16:36 +0000 (13:16 +0000)
commit25e43169c4f0597960bd9888770283af96d59298
treedbe81d4379118c486e8c9f95cfb5dc84e59b9b6b
parentb67ea8fb3a7d27540cef4c2de78608134bbcdae7
scons: Override the "default" tool to set up the default env.

This imports various environment variables into the scons environment,
and sets some general properties on it. These are basically just copied
directly from the SConstruct and have the same behavior here.

gem5_tool_list will be used later on to add scons "tools" which should
be automatically added to new Environment objects.

Change-Id: Ib255955090c7b1e1cb80c703c18a9c867fcf1c9e
Reviewed-on: https://gem5-review.googlesource.com/5562
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
SConstruct
site_scons/site_tools/default.py [new file with mode: 0644]