From: Christian Gagneraud <chgans@gna.org>
To: yocto@yoctoproject.org
Subject: Detecting build type within recipe (target, native or nativesdk)
Date: Fri, 26 Jul 2013 11:57:28 +1200 [thread overview]
Message-ID: <51F1BB68.6010204@gna.org> (raw)
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
next reply other threads:[~2013-07-25 23:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 23:57 Christian Gagneraud [this message]
2013-07-26 2:04 ` Detecting build type within recipe (target, native or nativesdk) ChenQi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51F1BB68.6010204@gna.org \
--to=chgans@gna.org \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.