]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: remove usage of FILESPATH
authorPetter Mabäcker <petter@technux.se>
Mon, 12 May 2014 13:55:35 +0000 (15:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 May 2014 18:24:02 +0000 (19:24 +0100)
Fixes [YOCTO #4497]

Usage of FILESPATH is discouraged, since it can make recipes harder to
bbappend. Instead FILESEXTRAPATHS should be used to extend the
path. Don't migrate paths that already exist in base FILESPATH to
FILESEXTRAPATHS.

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-native_2.7.3.bb
meta/recipes-devtools/python/python-pygobject_2.28.3.bb

index 0c66d27c2dcb3a27e0e19d7a19ba6ce2590ad9ca..b2a36b478f75d34dc9bfca317ca2f3df84596c58 100644 (file)
@@ -21,7 +21,7 @@ SRC_URI += "\
            "
 S = "${WORKDIR}/Python-${PV}"
 
-FILESPATH = "${FILE_DIRNAME}/python-native/:${FILE_DIRNAME}/python/"
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:"
 
 inherit native
 
index 9dbe47cfc9457717a87e9212421e9deb340a38c6..2e65b3808aee220cb49642126a6164de7d188f30 100644 (file)
@@ -16,7 +16,6 @@ SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9"
 SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6"
 S = "${WORKDIR}/pygobject-${PV}"
 
-FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
 EXTRA_OECONF += "--disable-introspection"
 
 PARALLEL_MAKEINST = ""