diff options
author | Ross Burton <ross.burton@intel.com> | 2013-12-03 15:42:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-14 11:33:55 +0000 |
commit | 6aafc529d7007e4d5646cb76c5f4573d8598602f (patch) | |
tree | d2018060c15d7dd63efd01baa5239b4e629e0cfa /meta/classes/module.bbclass | |
parent | d4ad8f7119cceff3e7088227e19e80e3485ec2ff (diff) | |
download | poky-6aafc529d7007e4d5646cb76c5f4573d8598602f.tar.gz |
cmake: respect ${S} and ${B}
Instead of the class-specific variables OECMAKE_BUILDPATH and
OECMAKE_SOURCEPATH, just use ${B} and ${S}.
If these two paths are different, delete any existing ${B} before running a
build so that previous builds don't taint the current build.
Note that OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH are not respected, so recipes
that manually set these in the past will need to be updated to either use
something along the lines of separatebuilddir.inc or set B themselves. If the
old variables are set, a warning is displayed.
(From OE-Core rev: 43073569cb67d98c11aa71211d77b566b64f9145)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/module.bbclass')
0 files changed, 0 insertions, 0 deletions