SConstruct (6025:044903442dcb) SConstruct (6108:66014cd0dc61)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

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

649Export('all_cpu_list', 'default_cpus')
650
651# Sticky variables get saved in the variables file so they persist from
652# one invocation to the next (unless overridden, in which case the new
653# value becomes sticky).
654sticky_vars = Variables(args=ARGUMENTS)
655Export('sticky_vars')
656
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

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

649Export('all_cpu_list', 'default_cpus')
650
651# Sticky variables get saved in the variables file so they persist from
652# one invocation to the next (unless overridden, in which case the new
653# value becomes sticky).
654sticky_vars = Variables(args=ARGUMENTS)
655Export('sticky_vars')
656
657# Sticky variables that should be exported
658export_vars = []
659Export('export_vars')
660
657# Non-sticky variables only apply to the current build.
658nonsticky_vars = Variables(args=ARGUMENTS)
659Export('nonsticky_vars')
660
661# Walk the tree and execute all SConsopts scripts that wil add to the
662# above variables
663for bdir in [ base_dir ] + extras_dir_list:
664 for root, dirs, files in os.walk(bdir):

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

693 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
694 )
695
696nonsticky_vars.AddVariables(
697 BoolVariable('update_ref', 'Update test reference outputs', False)
698 )
699
700# These variables get exported to #defines in config/*.hh (see src/SConscript).
661# Non-sticky variables only apply to the current build.
662nonsticky_vars = Variables(args=ARGUMENTS)
663Export('nonsticky_vars')
664
665# Walk the tree and execute all SConsopts scripts that wil add to the
666# above variables
667for bdir in [ base_dir ] + extras_dir_list:
668 for root, dirs, files in os.walk(bdir):

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

697 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
698 )
699
700nonsticky_vars.AddVariables(
701 BoolVariable('update_ref', 'Update test reference outputs', False)
702 )
703
704# These variables get exported to #defines in config/*.hh (see src/SConscript).
701env.ExportVariables = ['FULL_SYSTEM', 'USE_FENV', \
702 'USE_MYSQL', 'NO_FAST_ALLOC', 'FAST_ALLOC_DEBUG', \
703 'FAST_ALLOC_STATS', 'SS_COMPATIBLE_FP', \
704 'USE_CHECKER', 'TARGET_ISA', 'CP_ANNOTATE']
705export_vars += ['FULL_SYSTEM', 'USE_FENV', 'USE_MYSQL',
706 'NO_FAST_ALLOC', 'FAST_ALLOC_DEBUG', 'FAST_ALLOC_STATS',
707 'SS_COMPATIBLE_FP', 'USE_CHECKER', 'TARGET_ISA', 'CP_ANNOTATE']
705
706###################################################
707#
708# Define a SCons builder for configuration flag headers.
709#
710###################################################
711
712# This function generates a config header file that #defines the

--- 190 unchanged lines hidden ---
708
709###################################################
710#
711# Define a SCons builder for configuration flag headers.
712#
713###################################################
714
715# This function generates a config header file that #defines the

--- 190 unchanged lines hidden ---