Use SConsopts files local to individual domains to pull non-foundational build code out of SConstruct. This greatly simplifies SConstruct, and also makes it easier to find build configuration having to do with particular pieces of gem5. This change also converts some python level variables, all_protocols, protocol_dirs, and slicc_includes, into the environment where the timing of their initialization is more flexible. Change-Id: Ie61ceb75ae9e5557cc400603c972a9582e99c1ea Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40872 Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Gabe Black <gabe.black@gmail.com>
10 lines
250 B
Plaintext
10 lines
250 B
Plaintext
Import('*')
|
|
|
|
# NOTE: All SLICC setup code found in src/mem/ruby/protocol/SConscript
|
|
|
|
# Register this protocol with gem5/SCons
|
|
main.Append(ALL_PROTOCOLS=['MSI'])
|
|
|
|
# Add this directory to the search path for SLICC
|
|
main.Append(PROTOCOL_DIRS=[Dir('.')])
|