diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-03-01 11:34:57 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-23 13:00:48 +0100 |
commit | fe66c080cf6150b0c4c1bd1d969e0b5b9d671cd5 (patch) | |
tree | 440cac52a1b6ba9de5b0c14461937c77b2727ae8 /meta | |
parent | 7223b3a80e901b80e8a343a08f914a1fedd5b5b1 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 6 |
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" | |||
6 | DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" | 6 | DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native" |
7 | DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext" | 7 | DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext" |
8 | 8 | ||
9 | PR = "r0" | 9 | PR = "r1" |
10 | 10 | ||
11 | export CC_FOR_BUILD = "${BUILD_CC}" | 11 | export CC_FOR_BUILD = "${BUILD_CC}" |
12 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | 12 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" |
13 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | 13 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" |
14 | 14 | ||
15 | RDEPENDS_${PN} += "python bash" | ||
16 | RDEPENDS_${PN}_class-native += "python-native" | ||
17 | RDEPENDS_${PN}_class-nativesdk += "python-native" | ||
18 | |||
15 | EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ | 19 | EXTRA_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 " |