diff --git a/recipes-openharmony/sdk/README.rst b/recipes-openharmony/sdk/README.rst index 5a32b58bb591b112d71dfa921489a65a91b95854..c32a684c11871678ad0c5525474fbd5672dd7261 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