diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-21 21:37:22 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-21 21:37:22 -0400 |
commit | 7c45e667acee308830855660648954d4a7cf0e41 (patch) | |
tree | c0480a09b3c6aaea4315e880d1afe07b2e0f1a9b | |
parent | ef0700820686d262fa28091b8e143fc881f69965 (diff) | |
download | meta-virtualization-7c45e667acee308830855660648954d4a7cf0e41.tar.gz |
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 <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-devtools/python/python_2.7.3.bbappend | 3 |
1 files changed, 1 insertions, 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 @@ | |||
1 | THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" | ||
3 | 2 | ||
4 | DEPENDS += " ncurses" | 3 | DEPENDS += " ncurses" |
5 | 4 | ||