]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: call os.path.normpath on THISDIR
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 2 Mar 2021 19:32:29 +0000 (20:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Mar 2021 22:36:34 +0000 (22:36 +0000)
commit7977ff07d181d269bd52f98852d1076b268db614
tree764e3d3c585ea94794e9ea9a81e3b72b64f46ad6
parent60dab210a9a2cc101f41ca5e46eed7e5e83ff89f
glib-2.0: call os.path.normpath on THISDIR

* some build environments have relative paths in THISDIR, e.g. from OEROOT set in:
  https://github.com/96boards/oe-rpb-manifest/blob/1e3345c26c56f77f3a15a3978f412a25955d2606/conf/bblayers.conf#L4
  and then the paths in filename normalized in:
  filename = os.path.normpath(os.path.join(path, meson.cross.d, element))
  don't match.

* COREBASE used here before didn't have this issue because the value is already
  normalized when set in:
  meta/conf/layer.conf:COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb