Hi all,

Please ignore this thread.
I used the wrong packagegroup name in this commit header.
It should be nativesdk-packagegroup-sdk-host-clang (not nativesdk-packagegroup-sdk-clang).

i will send a v2.

Thanks,
Harish

On 17-07-2026 05:48 pm, Sadineni, Harish via lists.openembedded.org wrote:
From: Harish Sadineni <[email protected]>

Add a new nativesdk packagegroup providing the clang, lld, and
llvm-bin dependencies needed to build external/out-of-tree
modules in the SDK using the LLVM/Clang toolchain.

Rust support in the kernel on riscv64 requires the LLVM/Clang
toolchain rather than gcc, so this packagegroup is intended to
be added alongside nativesdk-packagegroup-sdk-rust when the SDK
targets riscv64.

Add this to TOOLCHAIN_HOST_TASK to include it in the SDK.

Signed-off-by: Harish Sadineni <[email protected]>
---
  .../nativesdk-packagegroup-sdk-host-clang.bb       | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
  create mode 100644 
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-clang.bb

diff --git 
a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-clang.bb 
b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-clang.bb
new file mode 100644
index 0000000000..d6ee2120cf
--- /dev/null
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-clang.bb
@@ -0,0 +1,14 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+SUMMARY = "Dependent packages for building external kernel modules using clang"
+
+inherit packagegroup
+inherit_defer nativesdk
+
+RDEPENDS:${PN} = "\
+    nativesdk-clang \
+    nativesdk-lld \
+    nativesdk-llvm-bin \
+"



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241169): 
https://lists.openembedded.org/g/openembedded-core/message/241169
Mute This Topic: https://lists.openembedded.org/mt/120313701/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to