Revert "Add option to pass make variables to depends.py"
This reverts commit be978a8c4f
.
The feature is no longer needed, and the script is broken if you don't pass
--make-vars.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
811daaa48c
commit
259df98972
1 changed files with 1 additions and 4 deletions
|
@ -381,7 +381,7 @@ class DomainData:
|
||||||
|
|
||||||
def __init__(self, options, conf):
|
def __init__(self, options, conf):
|
||||||
"""Gather data about the library and establish a list of domains to test."""
|
"""Gather data about the library and establish a list of domains to test."""
|
||||||
build_command = [options.make_command] + options.make_vars.split(' ') + ['CFLAGS=-Werror']
|
build_command = [options.make_command, 'CFLAGS=-Werror']
|
||||||
build_and_test = [build_command, [options.make_command, 'test']]
|
build_and_test = [build_command, [options.make_command, 'test']]
|
||||||
self.all_config_symbols = set(conf.settings.keys())
|
self.all_config_symbols = set(conf.settings.keys())
|
||||||
# Find hash modules by name.
|
# Find hash modules by name.
|
||||||
|
@ -526,9 +526,6 @@ def main():
|
||||||
parser.add_argument('--make-command', metavar='CMD',
|
parser.add_argument('--make-command', metavar='CMD',
|
||||||
help='Command to run instead of make (e.g. gmake)',
|
help='Command to run instead of make (e.g. gmake)',
|
||||||
action='store', default='make')
|
action='store', default='make')
|
||||||
parser.add_argument('--make-vars',
|
|
||||||
help='optional variable/value pairs to pass to make',
|
|
||||||
action='store', default='')
|
|
||||||
parser.add_argument('--unset-use-psa',
|
parser.add_argument('--unset-use-psa',
|
||||||
help='Unset MBEDTLS_USE_PSA_CRYPTO before any test',
|
help='Unset MBEDTLS_USE_PSA_CRYPTO before any test',
|
||||||
action='store_true', dest='unset_use_psa')
|
action='store_true', dest='unset_use_psa')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue