How to enforce ${B} = ${S} builds globally?

Enrico Scholz
2014-12-22T11:25:04Z

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