From da9b8dbb312082f7a9026b2de455bf45134178e9 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Wed, 21 Sep 2022 16:04:23 +0200 Subject: [PATCH] Revert "docs: Add OpenHarmony instructions to quick build section" This reverts commit f6e73f27f75e64fc21cd3ad8a6796278c0f87ecd. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- docs/oniro-quick-build.rst | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/docs/oniro-quick-build.rst b/docs/oniro-quick-build.rst index e5efedb1..84cfaee8 100644 --- a/docs/oniro-quick-build.rst +++ b/docs/oniro-quick-build.rst @@ -101,42 +101,6 @@ script wrapper as follows: 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. -.. _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 ************* -- GitLab