summaryrefslogtreecommitdiff
path: root/src/kern/SConscript
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:39 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:39 -0600
commite1b9a815dd34b8c2ff9db1225d3553eab287ba1b (patch)
tree3f71a4461ca57c215ba9abac0449fb251eb52e80 /src/kern/SConscript
parent92655b6399df526c8fe69f3b566dc9c7761782e3 (diff)
downloadgem5-e1b9a815dd34b8c2ff9db1225d3553eab287ba1b.tar.xz
SCons: Support building without an ISA
Diffstat (limited to 'src/kern/SConscript')
-rw-r--r--src/kern/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kern/SConscript b/src/kern/SConscript
index fc682aee0..145f0d986 100644
--- a/src/kern/SConscript
+++ b/src/kern/SConscript
@@ -30,6 +30,9 @@
Import('*')
+if env['TARGET_ISA'] == 'no':
+ Return()
+
if env['FULL_SYSTEM']:
Source('kernel_stats.cc')
Source('system_events.cc')