]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file...
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 25 Feb 2021 17:45:16 +0000 (18:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Feb 2021 22:40:36 +0000 (22:40 +0000)
commit314cfc7d6a8f9b00db7da5424890ff955a5ce971
tree91b36e4c26c732011554a5345779a5c545181a6f
parentea666fbc74163e7ef27a52a072b75fd1f5ac5c25
glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file paths

* COREBASE works correctly only as long as this recipe is inside of
  COREBASE directory and leaves the full absolute paths if you copy
  this recipe into your own layer (e.g. to backport newer version)

* use THISDIR as all FILESPATH should be relative to that, unless
  there is a .bbappend not only extending FILESPATH, but also adding
  meson.cross.d files there (at which point it also didn't work with
  COREBASE replacements as well already) - show an ERROR in such case,
  I don't think it's common scenario to spend more time to support that.

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