[meta-ti] [PATCH 2/2] Fix filespath for dylan
Denys Dmytriyenko
denys at ti.com
Sun Aug 11 20:30:28 PDT 2013
On Sun, Aug 11, 2013 at 07:41:35PM -0400, igeiser at devonit.com wrote:
> From: Ian Reinhart Geiser <igeiser at devonit.com>
>
> The old way of setting THISDIR in a bbappend clobbers THISDIR for
> other layers. This change makes it use the new way that is done
> in dylan.
>
> Signed-off-by: Ian Reinhart Geiser <igeiser at devonit.com>
> ---
> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> index 1615df3..491d403 100644
> --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
> @@ -1,5 +1,2 @@
> -PRINC = "2"
> -
> -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
> -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
> -
> +PRINC := "${@int(PRINC) + 1}"
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
Same here - _append is more appropriate.
--
Denys
More information about the meta-ti
mailing list