[oe-commits] =?UTF-8?Q?Petter=20Mab=C3=A4cker=20?=: python: remove usage of FILESPATH
git at git.openembedded.org
git at git.openembedded.org
Mon May 12 16:44:06 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 96fc6ded86f2d7c393a3c94622a99f5f64f28332
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=96fc6ded86f2d7c393a3c94622a99f5f64f28332
Author: Petter Mabäcker <petter at technux.se>
Date: Mon May 12 15:55:35 2014 +0200
python: remove usage of FILESPATH
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 at technux.se>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/python/python-native_2.7.3.bb | 2 +-
meta/recipes-devtools/python/python-pygobject_2.28.3.bb | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/python/python-native_2.7.3.bb b/meta/recipes-devtools/python/python-native_2.7.3.bb
index 0c66d27..b2a36b4 100644
--- a/meta/recipes-devtools/python/python-native_2.7.3.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.3.bb
@@ -21,7 +21,7 @@ SRC_URI += "\
"
S = "${WORKDIR}/Python-${PV}"
-FILESPATH = "${FILE_DIRNAME}/python-native/:${FILE_DIRNAME}/python/"
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:"
inherit native
diff --git a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
index 9dbe47c..2e65b38 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
@@ -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 = ""
More information about the Openembedded-commits
mailing list