Re: [OE-core] [PATCH 01/26] meson: update 0.58.1 -> 0.59.1

2021-10-10 Thread Hsia-Jun Li
On 9/9/21 02:01, Alexander Kanavin wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. Drop 0003-native_bindir.patch: it doesn't seem to actually define anything where the use_native parameter is se

[OE-core] [PATCH 0/2] meson: fix environmemt files in SDK

2021-10-12 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" I have not verified the second patch yet because I don't have cable network at home. And I don't really like the way to compose that native file, I wish there is a better way to do that. Hsia-Jun(Randy) Li (1): [WIP]: meson: install native file in sdk Randy Li (1):

[OE-core] [PATCH 1/2] meson: move lang args to the right section

2021-10-12 Thread Hsia-Jun Li
From: Randy Li After meson 0.56.0, _args and _link_args would be regarded as meson built-in options. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-devtools/meson/nativesdk-meson_0.59.1.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/meson

[OE-core] [PATCH 2/2] [WIP]: meson: install native file in sdk

2021-10-12 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" Without a native environment file, find_program() can't locate the native program inside SDK. That stops wayland compositor using wayland scanner. Signed-off-by: Hsia-Jun(Randy) Li --- meta/classes/meson-routines.bbclass | 4 ++ .../meson/meson/meson-setu

Re: [OE-core] [PATCH 2/2] [WIP]: meson: install native file in sdk

2021-10-12 Thread Hsia-Jun Li
patch is buggy, I just tested it. I just wonder whether there is a better way to compose those properties and I want to show how ugly it would be if there would not be a better method. Alex On Tue, 12 Oct 2021 at 12:13, Hsia-Jun Li <mailto:randy...@synaptics.com>> wrote: From:

[OE-core] [PATCH v2 0/2] fix environmemt files in SDK

2021-10-24 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" I am sorry I am very busy recently, so I don't have time to add an QA test class this time. Thoses patches were verified two days from mail last time, I just don't have time to send them. Changelog: v2 The script generates native file in nativesdk should work now. Hsi

[OE-core] [PATCH v2 1/2] meson: move lang args to the right section

2021-10-24 Thread Hsia-Jun Li
From: Randy Li After meson 0.56.0, _args and _link_args would be regarded as meson built-in options. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/meson

[OE-core] [PATCH v2 2/2] meson: install native file in sdk

2021-10-24 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" Without a native environment file, find_program() can't locate the native program inside SDK. That stops wayland compositor using wayland scanner. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-devtools/meson/meson/meson-setup.py | 8 meta/recipes-devtoo

Re: [OE-core] [PATCH 03/26] meson: configure and use generic exe_wrapper

2021-12-08 Thread Hsia-Jun Li
On 12/4/21 15:13, Alexander Kanavin wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. This replaces the specific gtkdoc wrapper setting (which was rejected by upstream in https://urldefense.proof

Re: [OE-core] [PATCH 03/26] meson: configure and use generic exe_wrapper

2021-12-08 Thread Hsia-Jun Li
's not? Sorry, I don't understand what I could check. The exe_wrapper option in meson cross file would disappear when that feature is removed. And everything would be fine then. Alex On Wed, 8 Dec 2021 at 10:27, Hsia-Jun Li <mailto:randy...@synaptics.com>> wrote: On

[OE-core] [PATCH 1/3] cmake.bbclass: support android os

2021-12-16 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" Signed-off-by: Randy Li Signed-off-by: Hsia-Jun(Randy) Li --- meta/classes/cmake.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 92b9197c48..40ae4fba08 100644 --- a/meta/classes/cmake.bbclass

[OE-core] [PATCH 0/3] support Android target in all build system

2021-12-16 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" Both meson and cmake would work fine, left those GNU autotools, customer script projects. The behaviour of meson would become that as the following for the Android target: lib/libfoo.so is the real binary library lib/libfoo.so.x -> libfoo.so lib/libfoo.so.x.y -> libfoo

[OE-core] [PATCH 2/3] classes/meson: support Android os

2021-12-16 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" Signed-off-by: Randy Li Signed-off-by: Hsia-Jun(Randy) Li --- meta/classes/meson-routines.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/meson-routines.bbclass b/meta/classes/meson-routines.bbclass index be3aeedeba..f9a06a16d8 100644 ---

[OE-core] [PATCH 3/3] [WIP]: openssl: fix Android target

2021-12-16 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" It is fair to regard Android as Linux target, we repack the sysroot, so we don't need to bother those helper from openssl. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-connectivity/openssl/openssl_3.0.0.bb | 4 1 file changed, 4 insertions(+) diff --git a

Re: [OE-core] [PATCH 0/3] support Android target in all build system

2021-12-16 Thread Hsia-Jun Li
On 12/16/21 22:56, Richard Purdie wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu, 2021-12-16 at 18:38 +0800, Hsia-Jun Li wrote: From: "Hsia-Jun(Randy) Li" Both meson and c

[OE-core] [PATCH 0/2] support building for Android target

2021-08-19 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" You may check the meta-android-ndk I posted to the -devel list before. Hsia-Jun Li (2): cross-canadian: skip it for Android bionic machine_dict: Add Android OS to it meta/classes/cross-canadian.bbclass | 2 +- meta/lib/oe/elf.py | 8 +

[OE-core] [PATCH 1/2] cross-canadian: skip it for Android bionic

2021-08-19 Thread Hsia-Jun Li
Signed-off-by: Hsia-Jun Li --- meta/classes/cross-canadian.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 447a2bb..ce8751e 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta

[OE-core] [PATCH 2/2] machine_dict: Add Android OS to it

2021-08-19 Thread Hsia-Jun Li
Signed-off-by: Hsia-Jun Li --- meta/lib/oe/elf.py | 8 1 file changed, 8 insertions(+) diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py index df0a459..46c884a 100644 --- a/meta/lib/oe/elf.py +++ b/meta/lib/oe/elf.py @@ -61,6 +61,14 @@ def machine_dict(d

Re: [OE-core] [PATCH 0/2] support building for Android target

2021-08-30 Thread Hsia-Jun Li
On 8/21/21 1:34 AM, Khem Raj wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. On 8/19/21 11:11 PM, Hsia-Jun Li wrote: From: "Hsia-Jun(Randy) Li" You may check the meta-android-ndk I

[OE-core] [PATCH 1/2] curl: fix the dependency to zstd

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" It would be enabled by default but I am not sure whether we need it. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-support/curl/curl_7.78.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/curl/curl_7.78.0.bb b/meta/recipes-support/cu

[OE-core] [PATCH 0/2] [WIP]: fix build failure caused by zstd

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" The configure script of some packages may not be able to handle this correctly. I have not verified all the packages, I was developing something for meta-clang actually. Hsia-Jun(Randy) Li (2): curl: fix the dependency to zstd gcc: disable zstd by default meta/r

[OE-core] [PATCH 2/2] gcc: disable zstd by default

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" I think this script is a little trick, unless you disable it, it would consider it enabled anyway. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-devtools/gcc/gcc-11.2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-11.2.in

[OE-core] [PATCH] cross-canadian: make android pass target sys check

2021-09-06 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" We could build an Android toolchain but its triple should always contain the string android or clang can't link the right object files for it. Signed-off-by: Hsia-Jun(Randy) Li --- meta/classes/cross-canadian.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --gi