diff mbox series

icecc: allow icecc in kernel-arch recipes

Message ID 20241219180130.396868-1-nick.owens@eero.com
State New
Headers show
Series icecc: allow icecc in kernel-arch recipes | expand

Commit Message

Nick Owens Dec. 19, 2024, 6:01 p.m. UTC
to take advantage of icecc in out of tree modules which may not inherit
kernel, but do inherit kernel-arch via module -> module-base, change the
inherit check for icecc_is_kernel to check for kernel-arch class instead
of kernel clas.

Signed-off-by: Nick Owens <nick.owens@eero.com>
---
 meta/classes/icecc.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 8a48f2ad63..adb51baf99 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -181,7 +181,7 @@  def icecc_is_allarch(bb, d):
 
 def icecc_is_kernel(bb, d):
     return \
-        bb.data.inherits_class("kernel", d);
+        bb.data.inherits_class("kernel-arch", d);
 
 def icecc_is_native(bb, d):
     return \