From 7c45e667acee308830855660648954d4a7cf0e41 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 21 Aug 2013 21:37:22 -0400 Subject: [PATCH] python: replace FILESPATH with FILESEXTRAPATHS_prepend redefining THISDIR and using FILESPATH is no longer required in a "modern" bbappend, and in fact breaks other layers that also patch python. Removing THISDIR and using FILESEXTRAPATHS_prepend fixes both issues. Signed-off-by: Bruce Ashfield --- recipes-devtools/python/python_2.7.3.bbappend | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-devtools/python/python_2.7.3.bbappend b/recipes-devtools/python/python_2.7.3.bbappend index e39deba6..55301c7e 100644 --- a/recipes-devtools/python/python_2.7.3.bbappend +++ b/recipes-devtools/python/python_2.7.3.bbappend @@ -1,5 +1,4 @@ -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" DEPENDS += " ncurses"