summaryrefslogtreecommitdiff
path: root/site_scons/site_tools/default.py
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-08 18:45:08 -0800
committerGabe Black <gabeblack@google.com>2017-11-10 13:17:00 +0000
commit902b3e34beaadaa2ac2932a9ff93f08008a4b16f (patch)
tree415a0bff0abf7a126767593afdf4a9ee1cc23b02 /site_scons/site_tools/default.py
parent25e43169c4f0597960bd9888770283af96d59298 (diff)
downloadgem5-902b3e34beaadaa2ac2932a9ff93f08008a4b16f.tar.xz
scons: Pull style hook management out of the main SConstruct.
Put the code which supports style hooks for mercurial and git into two scons "tools". Change-Id: I3ffed85a177be4f9e458fff7b1cf16a3a479914e Reviewed-on: https://gem5-review.googlesource.com/5563 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'site_scons/site_tools/default.py')
-rw-r--r--site_scons/site_tools/default.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/site_scons/site_tools/default.py b/site_scons/site_tools/default.py
index f7eeb28f6..2d32b56bd 100644
--- a/site_scons/site_tools/default.py
+++ b/site_scons/site_tools/default.py
@@ -72,6 +72,8 @@ def common_config(env):
env.srcdir = env.root.Dir('src')
gem5_tool_list = [
+ 'git',
+ 'mercurial',
]
def generate(env):