[yocto] Detecting build type within recipe (target, native or nativesdk)

Christian Gagneraud chgans at gna.org
Thu Jul 25 16:57:28 PDT 2013


Hi there,

Is there a way to detect what kind of build is going on (target, native 
or nativesdk) from within a recipe or a class?

Basically when using 'BBCLASSEXTEND = "native nativesdk"', how can I 
tweak the build behaviour depending of the build type?

Does anyone know an example recipe I could use as a reference for doing 
these kind of things?

Regards,
Chris



More information about the yocto mailing list