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

Simplify adding OpenHarmony support to other distros


By moving more of the configuration into openharmony.inc, it becomes
easier to add OpenHarmony support to other distros.

Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent 8eef83b2
No related branches found
No related tags found
1 merge request!36Prepare for integration into meta-oniro-core
......@@ -21,3 +21,10 @@ OPENHARMONY_OVERRIDES:df-openharmony = ":openharmony-${OPENHARMONY_VERSION}"
DISTROOVERRIDES:append = "${OPENHARMONY_OVERRIDES}"
PREFERRED_VERSION_openharmony-standard = "${OPENHARMONY_VERSION}"
# clang_rt.profile library is used in openharmony-standard build
PACKAGECONFIG:pn-compiler-rt = "profile"
require openssl.inc
require java.inc
require musl-ldso-paths.inc
......@@ -14,8 +14,6 @@ DISTRO_FEATURES:append = " openharmony"
TOOLCHAIN = "clang"
RUNTIME = "llvm"
PACKAGECONFIG:pn-compiler-rt = "profile"
# musl libc
TCLIBC = "musl"
......@@ -36,10 +34,6 @@ PREFERRED_VERSION_linux-yocto = "5.10.%"
require conf/distro/include/yocto-uninative.inc
INHERIT += "uninative"
require include/openssl.inc
require include/java.inc
require include/musl-ldso-paths.inc
# Workaround for missing host tools in do_testimage when not adding testimage to
# IMAGE_CLASSES, but doing a direct `inherit testimage` in image recipes
# instead.
......
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