From 32a927b85fb67d0cf7c77aac0fc6c8e1ef709b54 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 6 Nov 2006 19:55:42 -0500 Subject: [PATCH] Only bother with the device SConscript if you're in FULL_SYSTEM --HG-- extra : convert_revision : ac52f548afb98dd0437e7d7c2600ff9b8ebfd1fa --- src/SConscript | 5 +++-- 1 file 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'. -- 2.30.2