summaryrefslogtreecommitdiffstats
path: root/meta/classes/waf.bbclass
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2017-11-12 16:39:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-12 10:54:40 +0100
commit03830e2eb94bd49caa25a056d85a2068f5a63c13 (patch)
tree3970da0d82c5e8c9ce942b97f8bb3408e7caef0d /meta/classes/waf.bbclass
parentfdd18c8805d6c23723b8d173a3f0e5d15781d272 (diff)
downloadpoky-03830e2eb94bd49caa25a056d85a2068f5a63c13.tar.gz
cmake: Avoid passing empty prefix to os.path.relpath
With meta-micro, ${prefix} is the empty string. This means that CMAKE_INSTALL_BINDIR:PATH and friends end up containing paths starting with many instances of "../", presumably due to os.path.relpath attempting to find its way to the current directory. Let's avoid this by ensuring that the root path always ends in a slash. If it already ends in a slash then adding another one shouldn't cause any problems. (From OE-Core rev: 67b19414c1c17f71f39c971b9f9fdd1f776516a1) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/waf.bbclass')
0 files changed, 0 insertions, 0 deletions