Skip to content
Snippets Groups Projects
Commit e62d5daf authored by Andrei Gherzan's avatar Andrei Gherzan :penguin: Committed by Zygmunt Krynicki
Browse files

docs: Fix more docs after meta-ohos rename


Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 48bb2961
No related branches found
No related tags found
No related merge requests found
...@@ -18,14 +18,14 @@ initialization time for a specific kernel by passing the associated ...@@ -18,14 +18,14 @@ initialization time for a specific kernel by passing the associated
``TEMPLATECONF`` configuration. ``TEMPLATECONF`` configuration.
All the available ``flavours`` are available as subdirectories of the All the available ``flavours`` are available as subdirectories of the
``flavours`` directory in the root of the ``meta-ohos`` repository. ``flavours`` directory in the root of the ``oniro`` repository.
Generically, when configuring a new build, one should pass the flavour as Generically, when configuring a new build, one should pass the flavour as
``TEMPLATECONF`` to the ``oe-init-build-env`` script: ``TEMPLATECONF`` to the ``oe-init-build-env`` script:
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/<FLAVOUR_NAME> . ./sources/poky/oe-init-build-env <BUILD_NAME> $ TEMPLATECONF=../oniro/flavours/<FLAVOUR_NAME> . ./oe-core/oe-init-build-env <BUILD_NAME>
Notes: Notes:
......
...@@ -23,7 +23,7 @@ Build steps example: ...@@ -23,7 +23,7 @@ Build steps example:
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/freertos . ./sources/poky/oe-init-build-env build-ohos-freertos $ TEMPLATECONF=../oniro/flavours/freertos . ./oe-core/oe-init-build-env build-ohos-freertos
$ bitbake freertos-demo $ bitbake freertos-demo
You can test the image built for the qemuarmv5 target by issuing: You can test the image built for the qemuarmv5 target by issuing:
......
...@@ -32,7 +32,7 @@ Build steps example: ...@@ -32,7 +32,7 @@ Build steps example:
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux $ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-ohos-linux
$ bitbake allscenarios-image-base $ bitbake allscenarios-image-base
You can test the image built for the qemux86-64 target by issuing: You can test the image built for the qemux86-64 target by issuing:
......
...@@ -31,7 +31,7 @@ Build steps example: ...@@ -31,7 +31,7 @@ Build steps example:
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/zephyr . ./sources/poky/oe-init-build-env build-ohos-zephyr $ TEMPLATECONF=../oniro/flavours/zephyr . ./oe-core/oe-init-build-env build-ohos-zephyr
$ bitbake zephyr-philosophers $ bitbake zephyr-philosophers
You can test the image built for the qemu-x86 target by issuing: You can test the image built for the qemu-x86 target by issuing:
......
...@@ -22,7 +22,7 @@ CI_ONIRO_BUILD_FLAVOUR ...@@ -22,7 +22,7 @@ CI_ONIRO_BUILD_FLAVOUR
The name of the *flavour* of All Scenarios OS, which effectively picks the kernel The name of the *flavour* of All Scenarios OS, which effectively picks the kernel
type. This is used to select the initial BitBake configuration template. type. This is used to select the initial BitBake configuration template.
Templates are stored in the **meta-ohos** repository. Templates are stored in the **oniro** repository.
Available values are ``linux``, ``zephyr`` and ``freertos``. There is no Available values are ``linux``, ``zephyr`` and ``freertos``. There is no
default value. This variable must be set by a derivative job, it is usually set default value. This variable must be set by a derivative job, it is usually set
......
...@@ -39,5 +39,5 @@ Pick the desired ``CI_ONIRO_BUILD_FLAVOUR``, ``CI_ONIRO_RECIPE_NAME`` and ...@@ -39,5 +39,5 @@ Pick the desired ``CI_ONIRO_BUILD_FLAVOUR``, ``CI_ONIRO_RECIPE_NAME`` and
``MACHINE``. For discussion of ``CI_ONIRO_BUILD_FLAVOUR`` refer to the ``MACHINE``. For discussion of ``CI_ONIRO_BUILD_FLAVOUR`` refer to the
:doc:`bitbake-workspace` job. ``CI_ONIRO_RECIPE_NAME`` is any BitBake recipe :doc:`bitbake-workspace` job. ``CI_ONIRO_RECIPE_NAME`` is any BitBake recipe
available in the selected flavour. ``MACHINE`` is desired machine name. available in the selected flavour. ``MACHINE`` is desired machine name.
Supported values are documented alongside each flavour in the *meta-ohos* Supported values are documented alongside each flavour in the *oniro*
repository. repository.
...@@ -46,7 +46,7 @@ Building an application ...@@ -46,7 +46,7 @@ Building an application
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/zephyr . ./sources/poky/oe-init-build-env build-ohos-zephyr $ TEMPLATECONF=../oniro/flavours/zephyr . ./oe-core/oe-init-build-env build-ohos-zephyr
* You will find yourself in the newly created build directory. Call bitbake to build the image. The supported image name is zephyr-philosophers. * You will find yourself in the newly created build directory. Call bitbake to build the image. The supported image name is zephyr-philosophers.
......
...@@ -34,7 +34,7 @@ Build steps ...@@ -34,7 +34,7 @@ Build steps
.. code-block:: console .. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux $ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-ohos-linux
2. You will find yourself in the newly created build directory. Call *bitbake* 2. You will find yourself in the newly created build directory. Call *bitbake*
to build the image. For example, if you are using *allscenarios-image-base* to build the image. For example, if you are using *allscenarios-image-base*
......
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