summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorPetter Mabäcker <petter@technux.se>2014-05-12 15:55:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-13 19:24:01 +0100
commit20de1b4d28f165593e86ee52211ebb595da4c01f (patch)
tree708fc35b60d09677e4f87f8cb4b43022e907cd0e /meta/recipes-kernel
parent64c6ae6a69215b659b82c67e238bc0fbc09a3eab (diff)
downloadopenembedded-core-20de1b4d28f165593e86ee52211ebb595da4c01f.tar.gz
openembedded-core-20de1b4d28f165593e86ee52211ebb595da4c01f.tar.bz2
openembedded-core-20de1b4d28f165593e86ee52211ebb595da4c01f.zip
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@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap-uprobes_git.bb2
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.inc2
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 ab9acba023..4d2bec4714 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 78439c152c..717d66f738 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'