Skip to contentSkip to conversation

relation between inherit, TOOLCHAIN_HOST_TASK, and BBCLASSEXTEND = "nativesdk" #yocto #poky #esdk #compiler

DISCUSSION [email protected] 2 participants 2 messages Oct 8, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I have an example image where my image bbclass has TOOLCHAIN_HOST_TASK = "nativesdk-myprgog"

myprogram.bb file has BBCLASSEXTEND = "nativesdk" and it inherit mono.

Problem what I am facing is when I try to build image, it fails to start mentioning that nothing provides nativesdk-mono. I assume that writing bbextends for mono will solve this. however, is there any way to still inherit mono and not to make it part dependency chain for TOOLCHAIN_HOST_TASK?

#1 lore raw
Quoted 9 lines · On Thu, Oct 8, 2020 at 6:24 AM <[email protected]> wrote:

Hi,

I have an example image where my image bbclass has TOOLCHAIN_HOST_TASK = "nativesdk-myprgog"

myprogram.bb file has BBCLASSEXTEND = "nativesdk" and it inherit mono.

Problem what I am facing is when I try to build image, it fails to start mentioning that nothing provides nativesdk-mono. I assume that writing bbextends for mono will solve this. however, is there any way to still inherit mono and not to make it part dependency chain for TOOLCHAIN_HOST_TASK?

removing is easy e.g.

DEPEND_remove_class-nativesdk = "nativesdk-mono"

but will this recipe build without mono for nativesdk is the real question.

Quoted 2 lines