util: Move the call type implementations into their own subdir.

Change-Id: Ie94c2ef4783b6b5700beb0f0bbeb765ce9b03934
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27551
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
Gabe Black
2020-04-04 06:53:00 -07:00
parent 4ba0cf1160
commit 8e0b1d3378
4 changed files with 4 additions and 3 deletions

View File

@@ -27,6 +27,8 @@ import os
Import('*')
env.Append(CPPPATH=Dir('.'))
# Raw source files.
args = 'args.cc'
call_type = 'call_type.cc'
@@ -65,7 +67,7 @@ for ct in call_types:
ct_env = static_env.Clone()
is_default = 'true' if ct.default else 'false'
ct_env.Append(CXXFLAGS=[ '-DCALL_TYPE_IS_DEFAULT=%s' % is_default ])
ct_support.extend(ct_env.StaticObject('%s_call_type.cc' % ct.name))
ct_support.extend(ct_env.StaticObject('call_type/%s.cc' % ct.name))
m5_bin = static_env.Program('out/m5',
ct_support + [ args, call_type, commands, m5, m5_mmap, libm5, usage ])

View File

@@ -27,9 +27,8 @@
#include <cstring>
#include "m5_mmap.h"
#include "call_type.hh"
#include "m5_mmap.h"
#include "usage.hh"
extern "C"