Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/50330 )

Change subject: scons,arch: Make the gem5 lib tag imply the current arch tag.
......................................................................

scons,arch: Make the gem5 lib tag imply the current arch tag.

That way you can use the tag to specify when a source file should be
built, instead of conditionally declaring the file to SCons.

Change-Id: Ia3a23860d2ee39ec6b32ee2195648b4d88564c83
---
M src/arch/SConscript
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/arch/SConscript b/src/arch/SConscript
index e7de7d1..241c997 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -55,6 +55,8 @@
 #
 #################################################################

+env.TagImplies('gem5 lib', env.subst('${TARGET_ISA} isa'))
+
 env.SwitchingHeaders(
     Split('''
         decoder.hh

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50330
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ia3a23860d2ee39ec6b32ee2195648b4d88564c83
Gerrit-Change-Number: 50330
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to