diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-22 14:33:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-25 16:35:55 +0100 |
commit | 5e3a61b40b7b697d83b41e7e247cd1f94eb7673c (patch) | |
tree | 7457543434b68420f33b4e585b9dfcfe6a8fed2b /meta-yocto | |
parent | 4d7636322c8b5bfbbdd82a5b434a79b0e49f62cc (diff) | |
download | poky-5e3a61b40b7b697d83b41e7e247cd1f94eb7673c.tar.gz |
bblayers.conf.sample: Fix empty BBPATH entry warnings
Many people are seeing issues from the empty path warnings from BBPATH.
The empty path entry corresponding to the current working directory is a
problem since if cwd changes, so does BBPATH and build reproducibility.
Simply removing the empty element causes problems since the build
directory then isn't listed in BBPATH which means local.conf isn't found
and this gives an extremely confusing error message about bbappends
being unsatisfied.
The build directory in bitbake terms is TOPDIR. The correct way to fix
things is to add in TOPDIR into bblayers.conf itself. This means the
layers can happily append/prepend to BBPATH at will as its no longer
empty hence neatly solving all the various problems. Since the file has
changed, the version is also changed.
(From meta-yocto rev: 7bbbedf64b0820cacffe723789486d3081894827)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r-- | meta-yocto/conf/bblayers.conf.sample | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-yocto/conf/bblayers.conf.sample b/meta-yocto/conf/bblayers.conf.sample index 7897750320..edbccf02ce 100644 --- a/meta-yocto/conf/bblayers.conf.sample +++ b/meta-yocto/conf/bblayers.conf.sample | |||
@@ -1,8 +1,10 @@ | |||
1 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | 1 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf |
2 | # changes incompatibly | 2 | # changes incompatibly |
3 | LCONF_VERSION = "4" | 3 | LCONF_VERSION = "5" |
4 | 4 | ||
5 | BBPATH = "${TOPDIR}" | ||
5 | BBFILES ?= "" | 6 | BBFILES ?= "" |
7 | |||
6 | BBLAYERS ?= " \ | 8 | BBLAYERS ?= " \ |
7 | ##COREBASE##/meta \ | 9 | ##COREBASE##/meta \ |
8 | ##COREBASE##/meta-yocto \ | 10 | ##COREBASE##/meta-yocto \ |