SConstruct (4773:6103346eeb28) | SConstruct (4775:6e09e9894365) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 422 unchanged lines hidden (view full) --- 431 if 'SConsopts' in files: 432 SConscript(os.path.join(root, 'SConsopts')) 433 434all_isa_list.sort() 435all_cpu_list.sort() 436default_cpus.sort() 437 438def ExtraPathValidator(key, val, env): | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 422 unchanged lines hidden (view full) --- 431 if 'SConsopts' in files: 432 SConscript(os.path.join(root, 'SConsopts')) 433 434all_isa_list.sort() 435all_cpu_list.sort() 436default_cpus.sort() 437 438def ExtraPathValidator(key, val, env): |
439 if not val: 440 return |
|
439 paths = val.split(':') 440 for path in paths: 441 path = os.path.expanduser(path) 442 if not isdir(path): 443 raise AttributeError, "Invalid path: '%s'" % path 444 445sticky_opts.AddOptions( 446 EnumOption('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list), --- 284 unchanged lines hidden --- | 441 paths = val.split(':') 442 for path in paths: 443 path = os.path.expanduser(path) 444 if not isdir(path): 445 raise AttributeError, "Invalid path: '%s'" % path 446 447sticky_opts.AddOptions( 448 EnumOption('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list), --- 284 unchanged lines hidden --- |