summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-06 19:55:42 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-06 19:55:42 -0500
commit32a927b85fb67d0cf7c77aac0fc6c8e1ef709b54 (patch)
tree394669eda3cdbb0c7886dd5267109420229efb71 /src/SConscript
parent02abca6b9e4e21d8d89eb83eabab3be8ac10c9d8 (diff)
downloadgem5-32a927b85fb67d0cf7c77aac0fc6c8e1ef709b54.tar.xz
Only bother with the device SConscript if you're in FULL_SYSTEM
--HG-- extra : convert_revision : ac52f548afb98dd0437e7d7c2600ff9b8ebfd1fa
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript
index b383f58d6..58081751d 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -294,8 +294,9 @@ arch_sources = SConscript(os.path.join('arch', 'SConscript'), exports = 'env')
cpu_sources = SConscript(os.path.join('cpu', 'SConscript'), exports = 'env')
-dev_sources = SConscript(os.path.join('dev', 'SConscript'), exports = 'env')
-full_system_sources += dev_sources
+if env['FULL_SYSTEM']:
+ dev_sources = SConscript(os.path.join('dev', 'SConscript'), exports = 'env')
+ full_system_sources += dev_sources
# This is outside of cpu/SConscript since the source directory isn't
# underneath 'cpu'.