[meta-ti] Ian Reinhart Geiser : xserver-xf86-config: Fix filespath usage
Arago Project git
git at arago-project.org
Mon Aug 19 17:12:50 PDT 2013
Module: meta-ti
Branch: dylan
Commit: ec83f7d77a9f184bb20326fd705309408dd42cf0
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=ec83f7d77a9f184bb20326fd705309408dd42cf0
Author: Ian Reinhart Geiser <igeiser at devonit.com>
Date: Sun Aug 11 19:41:35 2013 -0400
xserver-xf86-config: Fix filespath usage
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>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
.../xorg-xserver/xserver-xf86-config_0.1.bbappend | 7 ++-----
1 files 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}:"
More information about the meta-ti
mailing list