Skip to contentSkip to conversation

Ian Reinhart Geiser : formfactor: Fix filespath usage

PATCH Arago Project git 1 participant 1 message Aug 20, 2013

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: dylan
Commit: acf1d6a980186321e4467b9849bb9cb8d5dd8396
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=acf1d6a980186321e4467b9849bb9cb8d5dd8396
Author: Ian Reinhart Geiser <[email protected]>
Date:   Sun Aug 11 19:41:34 2013 -0400

formfactor: 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.

---

 recipes-bsp/formfactor/formfactor_0.0.bbappend |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
recipes-bsp/formfactor/formfactor_0.0.bbappend +2 -3
index 4b8d0e6..491d403 100644
@@ -1,3 +1,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}:"