scons: Remove the AddLocalOption workaround.
authorGabe Black <gabeblack@google.com>
Tue, 4 Aug 2020 04:38:55 +0000 (21:38 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 31 Aug 2020 21:31:12 +0000 (21:31 +0000)
commit08ab457f13f4f95cb8f03023509fb551125ac429
treefa49c7b023abccce2c18873ea8a222fb833bf74e
parentc0d67b2263aab6a729368373d9cdef9883870241
scons: Remove the AddLocalOption workaround.

The "append" option of the Help() scons method can be used to avoid
clobbering the built in and local option help.

This has the nice side effect of making it easier to add options in
other files since you now only need the built in AddOption provided by
scons itself, not the custom AddLocalOption version.

Change-Id: Ifa566087797d578df0c90f8f4fca70c8152fbf63
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32115
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
SConstruct