From 2bcd180d1c9c4ebc37e99ae002d1e1da2cf84d61 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 26 Jul 2022 11:40:11 +0200 Subject: [PATCH] docs: Clarify build initialization step in SDK docs Fixes: https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/40 Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- recipes-openharmony/sdk/README.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-openharmony/sdk/README.rst b/recipes-openharmony/sdk/README.rst index 5a32b58..c32a684 100644 --- a/recipes-openharmony/sdk/README.rst +++ b/recipes-openharmony/sdk/README.rst @@ -35,8 +35,12 @@ OpenSource toolchain and third-party components with newer Oniro versions. Building ******** -To build `oniro-openharmony-bundle` for OpenHarmony 3.0.1, the `bitbake` command -is simply:: +To build `oniro-openharmony-bundle` for OpenHarmony 3.0.1, an initialized build +environment is required:: + + TEMPLATECONF=../meta-openharmony/conf source oe-core/oe-init-build-env + +Once that is in place, the `bitbake` command is simply:: DISTRO=oniro-openharmony-linux MACHINE=qemuarma7 bitbake oniro-openharmony-bundle -- GitLab