summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-07-27 15:08:05 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-08-01 18:27:06 +0000
commitf2d0adf60fe8dd43dd5f8f5bed0e4fe85794c1d0 (patch)
treedb4d6b8de9dcf87d1684ef557c1192b539d4aa83 /SConstruct
parent644e8cdf5ee7fcfe14faf6404ca42c18282dfceb (diff)
downloadgem5-f2d0adf60fe8dd43dd5f8f5bed0e4fe85794c1d0.tar.xz
sim: Use named constants for pseudo ops
Use named constants from a shared header instead of magic values when handling pseudo ops. Change-Id: If157060bbcd772ce7e8556482b44ca714f4319b1 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/4262 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 146b156d1..e4880e180 100755
--- a/SConstruct
+++ b/SConstruct
@@ -554,6 +554,9 @@ Export('extras_dir_list')
# the ext directory should be on the #includes path
main.Append(CPPPATH=[Dir('ext')])
+# Add shared top-level headers
+main.Prepend(CPPPATH=Dir('include'))
+
def strip_build_path(path, env):
path = str(path)
variant_base = env['BUILDROOT'] + os.path.sep