Deleted Added
sdiff udiff text old ( 8336:3a2aebf01bf3 ) new ( 8474:7f49e6a176b8 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

--- 759 unchanged lines hidden (view full) ---

768Export('sticky_vars')
769
770# Sticky variables that should be exported
771export_vars = []
772Export('export_vars')
773
774# Walk the tree and execute all SConsopts scripts that wil add to the
775# above variables
776if not GetOption('verbose'):
777 print "Reading SConsopts"
778for bdir in [ base_dir ] + extras_dir_list:
779 if not isdir(bdir):
780 print "Error: directory '%s' does not exist" % bdir
781 Exit(1)
782 for root, dirs, files in os.walk(bdir):
783 if 'SConsopts' in files:
784 if GetOption('verbose'):
785 print "Reading", joinpath(root, 'SConsopts')
786 SConscript(joinpath(root, 'SConsopts'))
787
788all_isa_list.sort()
789
790sticky_vars.AddVariables(
791 EnumVariable('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list),
792 BoolVariable('FULL_SYSTEM', 'Full-system support', False),
793 ListVariable('CPU_MODELS', 'CPU models',

--- 218 unchanged lines hidden ---