From: Gabe Black Date: Tue, 7 Nov 2006 00:55:42 +0000 (-0500) Subject: Only bother with the device SConscript if you're in FULL_SYSTEM X-Git-Tag: m5_2.0_beta2~53^2~43 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32a927b85fb67d0cf7c77aac0fc6c8e1ef709b54;p=gem5.git Only bother with the device SConscript if you're in FULL_SYSTEM --HG-- extra : convert_revision : ac52f548afb98dd0437e7d7c2600ff9b8ebfd1fa --- 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'.