Skip to content
Snippets Groups Projects
Verified Commit da9b8dbb authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

Revert "docs: Add OpenHarmony instructions to quick build section"


This reverts commit f6e73f27.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent bab56f6d
No related branches found
No related tags found
1 merge request!324Revert OpenHarmony support
...@@ -101,42 +101,6 @@ script wrapper as follows: ...@@ -101,42 +101,6 @@ script wrapper as follows:
If the host has a VT-capable CPU, you can pass the ``kvm`` argument for better If the host has a VT-capable CPU, you can pass the ``kvm`` argument for better
performance. Check ``runqemu``'s help message for all available arguments. performance. Check ``runqemu``'s help message for all available arguments.
.. _Building with OpenHarmony:
B. Building with OpenHarmony compatibility
------------------------------------------
To enable OpenHarmony compatibility features, you need to tweak the
`local.conf` file before running the build process. You will find this
configuration in `build-oniro-linux/conf/local.conf` where you'll need to add
the following:
.. code-block:: sh
TOOLCHAIN="clang"
RUNTIME="llvm"
DISTRO_FEATURES:append = " openharmony"
IMAGE_INSTALL:append = " openharmony-standard"
This will enable OpenHarmony features and add OpenHarmony Standard System
features to the `oniro-image-base` image.
As the build directory is now initialized, you can proceed to run the build
process (instead of `qemuarm-efi`, you can also build for any of the supported
targets - just make sure you set `MACHINE` to the same value while running
`bitbake` and `runqemu`):
.. code-block:: console
$ MACHINE=qemuarm bitbake oniro-image-base
Once the image is built, you can run a Qemu instance using the provided
script wrapper as follows:
.. code-block:: console
$ MACHINE=qemuarm runqemu oniro-image-base serialstdio nographic slirp
Runtime Login Runtime Login
************* *************
......
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