summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-03-01 11:34:57 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-23 13:00:48 +0100
commitfe66c080cf6150b0c4c1bd1d969e0b5b9d671cd5 (patch)
tree440cac52a1b6ba9de5b0c14461937c77b2727ae8
parent7223b3a80e901b80e8a343a08f914a1fedd5b5b1 (diff)
downloadpoky-fe66c080cf6150b0c4c1bd1d969e0b5b9d671cd5.tar.gz
systemtap: add python and bash dependencies
There are a number of scripts in the systemtap installation that use python and bash, so we need to add run-time dependencies for them. If not, we can generate build errors like "no package provides /usr/bin/python". Fixes [YOCTO #3951]. (From OE-Core rev: c16882f69aa7ec2e74ba411925a184e5a6105b1d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 3f94e981ae..90f7053632 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -6,12 +6,16 @@ DEPENDS = "elfutils sqlite3 systemtap-native"
6DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" 6DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
7DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext" 7DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
8 8
9PR = "r0" 9PR = "r1"
10 10
11export CC_FOR_BUILD = "${BUILD_CC}" 11export CC_FOR_BUILD = "${BUILD_CC}"
12export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" 12export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
13export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" 13export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
14 14
15RDEPENDS_${PN} += "python bash"
16RDEPENDS_${PN}_class-native += "python-native"
17RDEPENDS_${PN}_class-nativesdk += "python-native"
18
15EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ 19EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
16 --without-nss --without-avahi \ 20 --without-nss --without-avahi \
17 --disable-server --disable-grapher " 21 --disable-server --disable-grapher "