mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
wscript: rename bsp_defaults to bspdefaults
This commit is contained in:
18
wscript
18
wscript
@@ -1274,26 +1274,26 @@ def options(ctx):
|
|||||||
"--rtems-bsps",
|
"--rtems-bsps",
|
||||||
metavar="REGEX,...",
|
metavar="REGEX,...",
|
||||||
help=
|
help=
|
||||||
"a comma-separated list of Python regular expressions which select the desired BSP variants (e.g. 'sparc/erc32'); it may be used in the bsp_defaults and bsp_list commands",
|
"a comma-separated list of Python regular expressions which select the desired BSP variants (e.g. 'sparc/erc32'); it may be used in the bspdefaults and bsps commands",
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-compiler",
|
"--rtems-compiler",
|
||||||
metavar="COMPILER",
|
metavar="COMPILER",
|
||||||
help=
|
help=
|
||||||
"determines which compiler is used to list the BSP option defaults [default: 'gcc']; it may be used in the bsp_defaults command; valid compilers are: {}"
|
"determines which compiler is used to list the BSP option defaults [default: 'gcc']; it may be used in the bspdefaults command; valid compilers are: {}"
|
||||||
.format(", ".join(compilers)),
|
.format(", ".join(compilers)),
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-config",
|
"--rtems-config",
|
||||||
metavar="CONFIG.INI,...",
|
metavar="CONFIG.INI,...",
|
||||||
help=
|
help=
|
||||||
"a comma-separated list of paths to the BSP configuration option files [default: 'config.ini']; default option values can be obtained via the bsp_defaults command; it may be used in the configure command",
|
"a comma-separated list of paths to the BSP configuration option files [default: 'config.ini']; default option values can be obtained via the bspdefaults command; it may be used in the configure command",
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-specs",
|
"--rtems-specs",
|
||||||
metavar="SPECDIRS,...",
|
metavar="SPECDIRS,...",
|
||||||
help=
|
help=
|
||||||
"a comma-separated list of directory paths to build specification items [default: 'spec/build']; it may be used in the bsp_defaults, bsp_list, and configure commands",
|
"a comma-separated list of directory paths to build specification items [default: 'spec/build']; it may be used in the bspdefaults, bsps, and configure commands",
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-tools",
|
"--rtems-tools",
|
||||||
@@ -1305,13 +1305,13 @@ def options(ctx):
|
|||||||
"--rtems-top-group",
|
"--rtems-top-group",
|
||||||
metavar="UID",
|
metavar="UID",
|
||||||
help=
|
help=
|
||||||
"the UID of the top-level group [default: '/grp']; it may be used in the bsp_defaults and configure commands",
|
"the UID of the top-level group [default: '/grp']; it may be used in the bspdefaults and configure commands",
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-version",
|
"--rtems-version",
|
||||||
metavar="VALUE",
|
metavar="VALUE",
|
||||||
help=
|
help=
|
||||||
"sets the RTEMS major version number; it is intended for RTEMS maintainers and may be used in the bsp_defaults and configure commands",
|
"sets the RTEMS major version number; it is intended for RTEMS maintainers and may be used in the bspdefaults and configure commands",
|
||||||
)
|
)
|
||||||
rg.add_option(
|
rg.add_option(
|
||||||
"--rtems-option",
|
"--rtems-option",
|
||||||
@@ -1320,7 +1320,7 @@ def options(ctx):
|
|||||||
dest="rtems_options",
|
dest="rtems_options",
|
||||||
default=[],
|
default=[],
|
||||||
help=
|
help=
|
||||||
"sets the option identified by KEY to the VALUE in the build specification; it is intended for RTEMS maintainers and may be used in the bsp_defaults and configure commands",
|
"sets the option identified by KEY to the VALUE in the build specification; it is intended for RTEMS maintainers and may be used in the bspdefaults and configure commands",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -1630,7 +1630,7 @@ def no_matches_error(ctx, white_list):
|
|||||||
ctx.fatal("The build specification contains no BSPs")
|
ctx.fatal("The build specification contains no BSPs")
|
||||||
|
|
||||||
|
|
||||||
def bsp_defaults(ctx):
|
def bspdefaults(ctx):
|
||||||
"""get all options with default values for base BSP variants"""
|
"""get all options with default values for base BSP variants"""
|
||||||
check_forbidden_options(ctx, ["config", "tools"])
|
check_forbidden_options(ctx, ["config", "tools"])
|
||||||
add_log_filter(ctx.cmd)
|
add_log_filter(ctx.cmd)
|
||||||
@@ -1656,7 +1656,7 @@ def bsp_defaults(ctx):
|
|||||||
# selection and changing the compiler may lead to unpredictable behaviour if
|
# selection and changing the compiler may lead to unpredictable behaviour if
|
||||||
# these options are not adjusted as well. Use the --rtems-compiler command line
|
# these options are not adjusted as well. Use the --rtems-compiler command line
|
||||||
# option to get the default values for a particular compiler via
|
# option to get the default values for a particular compiler via
|
||||||
# ./waf bsp_defaults.
|
# ./waf bspdefaults.
|
||||||
COMPILER = {}""".format(variant, compiler))
|
COMPILER = {}""".format(variant, compiler))
|
||||||
enable = [compiler, arch, variant]
|
enable = [compiler, arch, variant]
|
||||||
bsp_item = bsps[arch][bsp]
|
bsp_item = bsps[arch][bsp]
|
||||||
|
|||||||
Reference in New Issue
Block a user