[poky] [PATCH 1/1] meta-yocto: use FILESEXTRAPATHS_prepend := in all bbappends

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jun 10 10:43:52 PDT 2011


Using FILESEXTRAPATHS is cleaner than the old FILESPATH-based method, and
as meta-intel layers are using FILESEXTRAPATHS their formfactor bbappends
will now work. In addition I have used FILESEXTRAPATHS_prepend which is
not absolutely necessary, but provides a good working example in case it
is copied by other layers that are intended to be used on top of it.

Fixes [YOCTO #1156]

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |    4 +---
 .../recipes-core/netbase/netbase_4.45.bbappend     |    4 +---
 meta-yocto/recipes-core/uclibc/uclibc_git.bbappend |    4 +---
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |    4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/meta-yocto/recipes-bsp/formfactor/formfactor_0.0.bbappend b/meta-yocto/recipes-bsp/formfactor/formfactor_0.0.bbappend
index 4b8d0e6..72d991c 100644
--- a/meta-yocto/recipes-bsp/formfactor/formfactor_0.0.bbappend
+++ b/meta-yocto/recipes-bsp/formfactor/formfactor_0.0.bbappend
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-yocto/recipes-core/netbase/netbase_4.45.bbappend b/meta-yocto/recipes-core/netbase/netbase_4.45.bbappend
index 4b8d0e6..72d991c 100644
--- a/meta-yocto/recipes-core/netbase/netbase_4.45.bbappend
+++ b/meta-yocto/recipes-core/netbase/netbase_4.45.bbappend
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-yocto/recipes-core/uclibc/uclibc_git.bbappend b/meta-yocto/recipes-core/uclibc/uclibc_git.bbappend
index 4b8d0e6..72d991c 100644
--- a/meta-yocto/recipes-core/uclibc/uclibc_git.bbappend
+++ b/meta-yocto/recipes-core/uclibc/uclibc_git.bbappend
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-yocto/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-yocto/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 4b8d0e6..72d991c 100644
--- a/meta-yocto/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/meta-yocto/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
1.7.4.1




More information about the poky mailing list