Skip to content
Snippets Groups Projects
Commit cfae56f5 authored by Esben Haabendal's avatar Esben Haabendal
Browse files

Merge branch 'openharmony-3.0-default' into 'kirkstone'

Change default OPENHARMONY_VERSION from 3.1 to 3.0

Closes #34

See merge request eclipse/oniro-core/meta-openharmony!42
parents 2fc779f1 6160ae3b
No related branches found
No related tags found
1 merge request!42Change default OPENHARMONY_VERSION from 3.1 to 3.0
Pipeline #6487 passed
......@@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
# OpenHarmony OS version
OPENHARMONY_VERSION ?= "3.1"
OPENHARMONY_VERSION ?= "3.0"
OPENHARMONY_VERSION_FULL = "${OPENHARMONY_VERSION}"
OPENHARMONY_VERSION_FULL:openharmony-3.0 = "3.0.1"
OPENHARMONY_VERSION_FULL:openharmony-3.1 = "3.1.1"
......
......@@ -110,7 +110,7 @@ MIRRORS:prepend = "git://gitee.com/openharmony/ git://github.com/openharmony/ \n
#
# Choose OpenHarmony version
#
# Uncomment to overwrite the variable OPENHARMONY_VERSION set in the
# Uncomment to override the variable OPENHARMONY_VERSION set in the
# distro configuration file.
#
#OPENHARMONY_VERSION = "3.0"
#OPENHARMONY_VERSION = "3.1"
......@@ -35,17 +35,17 @@ OpenSource toolchain and third-party components with newer Oniro versions.
Building
********
To build `oniro-openharmony-bundle` for OpenHarmony 3.1.1, the `bitbake` command
To build `oniro-openharmony-bundle` for OpenHarmony 3.0.1, the `bitbake` command
is simply::
DISTRO=oniro-openharmony-linux MACHINE=qemuarma7 bitbake oniro-openharmony-bundle
In order to build for OpenHarmony 3.0.1 instead, you need to add the following
In order to build for OpenHarmony 3.1.1 instead, you need to add the following
line to the `build/conf/local.conf` file::
OPENHARMONY_VERSION = "3.0"
OPENHARMONY_VERSION = "3.1"
And then use the same command as shown above for 3.1.1.
And then use the same command as shown above for 3.0.1.
To build `oniro-openharmony-toolchain` instead, simply use::
......@@ -62,12 +62,12 @@ Warning! It is recommended to only install OpenHarmony prebuilts to clean
upstream OpenHarmony source repsitories, as the installation will remove files
and entire git repositories!
To install the `oniro-openharmony-bundle` to a clean OpenHarmony 3.1.1
To install the `oniro-openharmony-bundle` to a clean OpenHarmony 3.0.1
repository, you should do something like this::
tar xfz $DOWNLOADS/code-v3.1.1-Release.tar.gz
cd code-v3.1-Relase/OpenHarmony
$DOWNLOADS/oniro-openharmony-bundle-3.1-cortexa7-neon-vfpv4-1.99.99.sh -y -d oniro
tar xfz $DOWNLOADS/code-v3.0.1-LTS.tar.gz
cd code-v3.0.1-LTS/OpenHarmony
$DOWNLOADS/oniro-openharmony-bundle-3.0-cortexa7-neon-vfpv4-1.99.99.sh -y -d oniro
./oniro/setup.sh
After this, you can use normal OpenHarmony build system procedures to build as
......
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