eng, user: update bsp_defaults to bspdefaults

This commit is contained in:
Gedare Bloom 2022-11-03 09:54:41 -06:00
parent 0213597d46
commit 168ed2701e
4 changed files with 11 additions and 11 deletions

View File

@ -79,7 +79,7 @@ In the ``./waf bsp_list`` command, the BSP list is generated from the
BSP Defaults
------------
In the ``./waf bsp_defaults`` command, the BSP defaults are generated from the
In the ``./waf bspdefaults`` command, the BSP defaults are generated from the
:ref:`SpecTypeBuildBSPItemType` and :ref:`SpecTypeBuildOptionItemType` items.
Build specification items contribute to the command through the
``do_defaults()`` method in the ``wscript``.

View File

@ -123,7 +123,7 @@ items can be specified by the ``--rtems-specs`` command line option.
BSP Defaults
------------
The BSP defaults command ``./waf bsp_defaults`` loads the build specification
The BSP defaults command ``./waf bspdefaults`` loads the build specification
items and generates a list options with default values for each base BSP from
it. The list is sorted by architecture and base BSP name. Which base BSPs are
listed can be controlled by the ``--rtems-bsps`` command line option. Default
@ -134,12 +134,12 @@ option.
.. code-block:: none
$ ./waf bsp_defaults --rtems-bsps=gr712rc --rtems-compiler=gcc | grep ABI_FLAGS
$ ./waf bspdefaults --rtems-bsps=gr712rc --rtems-compiler=gcc | grep ABI_FLAGS
ABI_FLAGS = -mcpu=leon3 -mfix-gr712rc
.. code-block:: none
$ ./waf bsp_defaults --rtems-bsps=gr712rc --rtems-compiler=clang | grep ABI_FLAGS
$ ./waf bspdefaults --rtems-bsps=gr712rc --rtems-compiler=clang | grep ABI_FLAGS
ABI_FLAGS = -mcpu=gr712rc
Configure
@ -222,12 +222,12 @@ option.
INHERIT = gr740
COMPILER = clang
Use the ``./waf bsp_defaults`` command to get a list of all configuration
Use the ``./waf bspdefaults`` command to get a list of all configuration
options with default values.
.. code-block:: none
$ ./waf bsp_defaults --rtems-bsps=sparc/erc32
$ ./waf bspdefaults --rtems-bsps=sparc/erc32
[sparc/erc32]
# Flags passed to the library archiver
ARFLAGS = crD
@ -246,7 +246,7 @@ options with default values.
INSTALL_LEGACY_MAKEFILES = True
It is not recommended to blindly add all the options obtained through the
``./waf bsp_defaults`` command to custom configuration files. The specified
``./waf bspdefaults`` command to custom configuration files. The specified
options should be kept at the necessary minimum to get the desired build.
Some projects may still want to specify all options in a configuration file to
@ -255,9 +255,9 @@ the user and base BSP values with the ``diff`` command.
.. code-block:: none
$ ./waf bsp_defaults --rtems-bsps=sparc/erc32 > config.ini
$ ./waf bspdefaults --rtems-bsps=sparc/erc32 > config.ini
$ sed -i 's/BUILD_TESTS = False/BUILD_TESTS = True/' config.ini
$ ./waf bsp_defaults --rtems-bsps=sparc/erc32 | diff -u - config.ini
$ ./waf bspdefaults --rtems-bsps=sparc/erc32 | diff -u - config.ini
--- config.ini 2019-12-04 08:21:36.049335872 +0100
+++ - 2019-12-04 08:21:41.187432405 +0100
@@ -31,7 +31,7 @@

View File

@ -20,7 +20,7 @@ Build Configuration Options
Please see the documentation of the `IMXRT_*` and `BSP_*` configuration options
for that. You can generate a default set of options with::
./waf bsp_defaults --rtems-bsps=arm/imxrt1052 > config.ini
./waf bspdefaults --rtems-bsps=arm/imxrt1052 > config.ini
Boot Process
------------

View File

@ -332,7 +332,7 @@ Generate default configuration for the board:
.. code-block:: shell
$ ./waf bsp_defaults --rtems-bsps=arm/stm32h747i-disco > stm32h747i-disco.ini
$ ./waf bspdefaults --rtems-bsps=arm/stm32h747i-disco > stm32h747i-disco.ini
Regenerate build specification cache (needs a couple of seconds)...
To run basic hello world or ticker samples you do not need to modify