[OE-core] [PATCH 2/2] oe/package.py: enhance objdump command call with llvm

2024-03-29 Thread lixiaoyong
From: lixiaoyong Replace `${HOST_PREFIX}objdump` with `${OBJDUMP}`. When utilizing llvm for compiling packages, the invocation of GNU objdump will consistently occur during package precess. This behavior is unfriendly to llvm. So prefer `${OBJDUMP}` over `${HOST_PREFIX}objdump`. Signed-off-by

[OE-core] [PATCH 1/2] utils.bbclass: enhance readelf command call with llvm

2024-03-29 Thread lixiaoyong
From: lixiaoyong Replace `${HOST_PREFIX}readelf` with `${READELF}`. When utilizing llvm for compiling packages, the invocation of GNU readelf will consistently occur if the oe_soinstall and oe_libinstall functions, which are defined in utils.bbclass, are called. This behavior is unfriendly to

[OE-core] [PATCH 0/2] *** SUBJECT HERE ***

2024-03-29 Thread lixiaoyong
*** BLURB HERE *** lixiaoyong (2): utils.bbclass: enhance readelf command call with llvm oe/package.py: enhance objdump command call with llvm meta/classes-global/utils.bbclass | 4 ++-- meta/lib/oe/package.py| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.34.1

[OE-core] [PATCH] kernel-module-split.bbclass: enhance objcopy command call for kernel compilation with llvm

2024-03-25 Thread lixiaoyong
removed, simplifying the invocation process. Signed-off-by: lixiaoyong --- meta/classes-recipe/kernel-module-split.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index