waf: added --default-parameters option

This commit is contained in:
Andrew Tridgell 2018-01-08 09:57:00 +11:00
parent b1ebbd1a1c
commit 48422e1038
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,10 @@ order to save typing.
default=False, default=False,
help='Force a static build') help='Force a static build')
g.add_option('--default-parameters',
default=None,
help='set default parameters to embed in the firmware')
def _collect_autoconfig_files(cfg): def _collect_autoconfig_files(cfg):
for m in sys.modules.values(): for m in sys.modules.values():
paths = [] paths = []