summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@arm.com>2018-12-21 14:22:30 +0000
committerCiro Santilli <ciro.santilli@arm.com>2019-01-22 11:35:12 +0000
commit9712a635a42bdf8db40ae0f48f8d515bea1927cf (patch)
tree1e45b212f6a46f0c11f48858582c7e9430186a80 /SConstruct
parentf2bda876f73af4ecc38406f3562a3d16fd28a5a9 (diff)
downloadgem5-9712a635a42bdf8db40ae0f48f8d515bea1927cf.tar.xz
scons: add helpers to access GDB XML description files
Change-Id: Ic3b18887544b7710ed07a86d28dc62d8441b3476 Reviewed-on: https://gem5-review.googlesource.com/c/15255 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 659023bf0..5c8f64956 100755
--- a/SConstruct
+++ b/SConstruct
@@ -1082,6 +1082,9 @@ for root, dirs, files in os.walk(ext_dir):
main.SConscript(joinpath(root, 'SConscript'),
variant_dir=joinpath(build_root, build_dir))
+gdb_xml_dir = joinpath(ext_dir, 'gdb-xml')
+Export('gdb_xml_dir')
+
main.Prepend(CPPPATH=Dir('ext/pybind11/include/'))
###################################################