Skip to content
Snippets Groups Projects
Commit 219fc2f3 authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman
Browse files

format_project.rst: Update documentation for changes to OptionArch

parent b0603fb0
No related branches found
No related tags found
Loading
......@@ -552,9 +552,22 @@ exported as a comma separated list of selected value strings.
Architecture
~~~~~~~~~~~~
The ``arch`` option type is special enumeration option which
defaults to the result of `uname -m`, and does not support
assigning any default in the project configuration.
The ``arch`` option type is a special enumeration option which defaults via
`uname -m` results to the following list.
* aarch32
* aarch64
* aarch64-BE
* power-isa-be
* power-isa-le
* sparc-v9
* x86-32
* x86-64
The reason for this, opposed to using just `uname -m`, is that we want an
OS-independent list, as well as several results mapping to the same architecture
(e.g. i386, i486 etc. are all x86-32). It does not support assigning any default
in the project configuration.
.. code:: yaml
......@@ -563,10 +576,10 @@ assigning any default in the project configuration.
type: arch
description: The machine architecture
values:
- arm
- aarch32
- aarch64
- i386
- x86_64
- x86-32
- x86-64
Architecture options can be tested with the same expressions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment