public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: openembedded-core@lists.openembedded.org
Subject: How to enforce ${B} = ${S} builds globally?
Date: Mon, 22 Dec 2014 12:24:50 +0100	[thread overview]
Message-ID: <lymw6gylj1.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)

Hi,

what is the recommended way to enable in-source builds globally?
Building in a separate directory might be interesting for qa, but it
lowers end-user experience significantly because __FILE__ expands now
to absolute names.

E.g.

| #include <assert.h>
| int main() { assert(0); }

gives

| test: /srv/oe/cache/bld/f95aceac-8952-bd61-430a-dfcdf48db33c/work/cortexa9t2hf-vfp-neon-linux-gnueabi/test/1.0-r0/test-1.0/test.c:2: main: Assertion `0' failed.

instead of

| test: test.c:2: main: Assertion `0' failed.



Enrico


             reply	other threads:[~2014-12-22 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 11:24 Enrico Scholz [this message]
2014-12-23  8:19 ` How to enforce ${B} = ${S} builds globally? Richard Purdie
2014-12-23 10:58   ` Enrico Scholz

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=lymw6gylj1.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox