From: Nathan Binkert Date: Fri, 27 Jul 2007 05:45:33 +0000 (-0700) Subject: scons: make things work when EXTRAS is not defined. X-Git-Tag: m5_2.0_beta4~268 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cda354b07035f73a3b220f89014721300d36a815;p=gem5.git scons: make things work when EXTRAS is not defined. --HG-- extra : convert_revision : 83562b55ec099e609c64cd42eb47a8481e4e85e7 --- 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)