summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2007-07-26 22:45:33 -0700
committerNathan Binkert <nate@binkert.org>2007-07-26 22:45:33 -0700
commitcda354b07035f73a3b220f89014721300d36a815 (patch)
tree9fc03b61950cdaee58b5167f4ff238aad2950285 /SConstruct
parentd4e69c006b1ee59c1b8bb5120252bc83d1838dc6 (diff)
downloadgem5-cda354b07035f73a3b220f89014721300d36a815.tar.xz
scons: make things work when EXTRAS is not defined.
--HG-- extra : convert_revision : 83562b55ec099e609c64cd42eb47a8481e4e85e7
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 1f3dfb5bb..a2760c4a4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -436,6 +436,8 @@ all_cpu_list.sort()
default_cpus.sort()
def ExtraPathValidator(key, val, env):
+ if not val:
+ return
paths = val.split(':')
for path in paths:
path = os.path.expanduser(path)