[oe-commits] =?UTF-8?Q?Petter=20Mab=C3=A4cker=20?=: systemtap: remove usage of FILESPATH

git at git.openembedded.org git at git.openembedded.org
Mon May 12 16:44:05 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 8866a825e76454eb93494c20e5cf17bbddc22102
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8866a825e76454eb93494c20e5cf17bbddc22102

Author: Petter Mabäcker <petter at technux.se>
Date:   Mon May 12 15:55:26 2014 +0200

systemtap: 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.

Signed-off-by: Petter Mabäcker <petter at technux.se>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb | 2 ++
 meta/recipes-kernel/systemtap/systemtap_git.inc        | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
index ab9acba..4d2bec4 100644
--- a/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb
@@ -11,6 +11,8 @@ ALLOW_EMPTY_${PN} = "1"
 
 inherit module-base gettext
 
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemtap:"
+
 FILES_${PN} += "${datadir}/systemtap/runtime/uprobes"
 
 EXTRA_OEMAKE = ""
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index 78439c1..717d66f 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -8,8 +8,6 @@ SRC_URI = "git://sourceware.org/git/systemtap.git \
            file://obsolete_automake_macros.patch \
           "
 
-FILESPATH = "${FILE_DIRNAME}/systemtap"
-
 # systemtap doesn't support mips
 COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux'
 



More information about the Openembedded-commits mailing list