On Thu, 2024-12-19 at 10:01 -0800, Nick Owens via
lists.openembedded.org wrote:
> 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 <[email protected]>
> ---
>  meta/classes/icecc.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 \

Unfortunately there are places kernel-arch is used which are not the
kernel. In particular, linux-libc-headers, u-boot, barebox, perf and
probably more in other layers.

Cheers,

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

Reply via email to