summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/systemtap/systemtap_git.bb
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-04-13 14:56:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-14 09:26:33 +0100
commit6ef7112e339bb5c03dee862bc56c10fdf677be78 (patch)
tree02f3e6219b34f6b5df967ab90da129aaf890e325 /meta/recipes-kernel/systemtap/systemtap_git.bb
parent08c368b9980716e459d846dd7183940a5bf8bea4 (diff)
downloadopenembedded-core-6ef7112e339bb5c03dee862bc56c10fdf677be78.tar.gz
openembedded-core-6ef7112e339bb5c03dee862bc56c10fdf677be78.tar.bz2
openembedded-core-6ef7112e339bb5c03dee862bc56c10fdf677be78.tar.xz
openembedded-core-6ef7112e339bb5c03dee862bc56c10fdf677be78.zip
systemtap: fix docproc build error
When building docs in systemtap, docproc is used to generate the tapset documentation, but it gets built for the target, while it needs to be build for the host instead. This change causes that to happen. Fixes [YOCTO #2193]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap_git.bb')
-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 c4a9d87df..1d2c9f35e 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -6,7 +6,11 @@ DEPENDS = "elfutils sqlite3 systemtap-native"
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk"
-PR = "r2"
+PR = "r3"
+
+export CC_FOR_BUILD = "${BUILD_CC}"
+export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
+export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
ac_cv_file__usr_include_nss=no \