changeset cdf3b0523858 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=cdf3b0523858 description: SCons: Make --help reflect the arguments to scons.
The arguments were added to the global_sticky_vars Variables object after the basic help text was generated. As a result, the "actual:" value wouldn't reflect the arguments to scons and wouldn't really be the "actual" value used by the build. This change fixes that by updating global_sticky_vars slightly earlier. diffstat: 1 file changed, 2 insertions(+), 2 deletions(-) SConstruct | 4 ++-- diffs (17 lines): diff -r 9e14a8c76257 -r cdf3b0523858 SConstruct --- a/SConstruct Sat Jan 02 07:06:26 2010 -0500 +++ b/SConstruct Sun Jan 17 02:22:30 2010 -0800 @@ -324,11 +324,11 @@ Global sticky options: ''' -help_text += global_sticky_vars.GenerateHelpText(main) - # Update main environment with values from ARGUMENTS & global_sticky_vars_file global_sticky_vars.Update(main) +help_text += global_sticky_vars.GenerateHelpText(main) + # Save sticky variable settings back to current variables file global_sticky_vars.Save(global_sticky_vars_file, main) _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev