summaryrefslogtreecommitdiff
path: root/src/mem/ruby/config
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-11 10:38:44 -0700
committerNathan Binkert <nate@binkert.org>2009-05-11 10:38:44 -0700
commit84a18e7fdc6106a04188254f940a0e987efe750c (patch)
tree0b07978ea8650e99755f24dd05d4dc5433f95b4d /src/mem/ruby/config
parentb05da09cd69329b3fef33eefd8cbf835f7d6e2f8 (diff)
downloadgem5-84a18e7fdc6106a04188254f940a0e987efe750c.tar.xz
ruby: rename config.include to config.hh and clean up the macro stuff.
I did the macro cleanup because I was worried that the SCons scanner would get confused. This code will hopefully go away soon anyway. --HG-- rename : src/mem/ruby/config/config.include => src/mem/ruby/config/config.hh
Diffstat (limited to 'src/mem/ruby/config')
-rw-r--r--src/mem/ruby/config/RubyConfig.cc2
-rw-r--r--src/mem/ruby/config/RubyConfig.hh1
-rw-r--r--src/mem/ruby/config/config.hh (renamed from src/mem/ruby/config/config.include)0
3 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/ruby/config/RubyConfig.cc b/src/mem/ruby/config/RubyConfig.cc
index fe4e3be8f..3d615ac02 100644
--- a/src/mem/ruby/config/RubyConfig.cc
+++ b/src/mem/ruby/config/RubyConfig.cc
@@ -164,7 +164,7 @@ static void print_parameters(ostream& out)
} \
-#include CONFIG_VAR_FILENAME
+#include "config.hh"
#undef PARAM
#undef PARAM_UINT
#undef PARAM_ULONG
diff --git a/src/mem/ruby/config/RubyConfig.hh b/src/mem/ruby/config/RubyConfig.hh
index b2cc745bc..bb12d6426 100644
--- a/src/mem/ruby/config/RubyConfig.hh
+++ b/src/mem/ruby/config/RubyConfig.hh
@@ -41,7 +41,6 @@
#define RUBYCONFIG_H
#include "Global.hh"
-#define CONFIG_VAR_FILENAME "config.include"
#include "vardecl.hh"
#include "NodeID.hh"
diff --git a/src/mem/ruby/config/config.include b/src/mem/ruby/config/config.hh
index f853fb72b..f853fb72b 100644
--- a/src/mem/ruby/config/config.include
+++ b/src/mem/ruby/config/config.hh