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>
This commit is contained in:
Bruce Ashfield 2013-08-21 21:37:22 -04:00
parent ef07008206
commit 7c45e667ac

View File

@ -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"