summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-08-02 03:22:11 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-08-02 03:22:11 -0700
commit1c68c32cc9926a53bd5df2d85d851541383d34d7 (patch)
treead06b4591e259674a833b7e6197d6e345174477a /SConstruct
parent1b49c56679b18b068e04cfe074bf984897fe656b (diff)
downloadgem5-1c68c32cc9926a53bd5df2d85d851541383d34d7.tar.xz
Scons: Make some Action objects fit the abreviated output format.
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct7
1 files changed, 1 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct
index 6074675c8..5699cda73 100755
--- a/SConstruct
+++ b/SConstruct
@@ -835,13 +835,8 @@ def build_config_file(target, source, env):
f.close()
return None
-# Generate the message to be printed when building the config file.
-def build_config_file_string(target, source, env):
- (variable, value) = [s.get_contents() for s in source]
- return "Defining %s as %s in %s." % (variable, value, target[0])
-
# Combine the two functions into a scons Action object.
-config_action = Action(build_config_file, build_config_file_string)
+config_action = MakeAction(build_config_file, Transform("CONFIG H", 2))
# The emitter munges the source & target node lists to reflect what
# we're really doing.