summaryrefslogtreecommitdiff
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-07 00:34:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-08 08:00:42 +0100
commitba29845a5b9bf16cda2230540d7ce17d0f82e8fa (patch)
treeecf702a204c4429515f2bdbb00d43c32eb3fedb0 /meta/recipes-support
parent7bbe8e79f5c010a12b8b0ec2693d55539fd67994 (diff)
downloadopenembedded-core-ba29845a5b9bf16cda2230540d7ce17d0f82e8fa.tar.gz
openembedded-core-ba29845a5b9bf16cda2230540d7ce17d0f82e8fa.tar.bz2
openembedded-core-ba29845a5b9bf16cda2230540d7ce17d0f82e8fa.zip
apr-util: fix path in rules.mk for nativesdk
Fixed when build nativesdk-apr-util: | gawk: fatal: can't open source file `/opt/poky/2.0+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/build-1/make_exports.awk' for reading (No such file or directory) The ${S} should be ${B}. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr-util_1.5.4.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.5.4.bb b/meta/recipes-support/apr/apr-util_1.5.4.bb
index 28962bd0ef..2b8676fef3 100644
--- a/meta/recipes-support/apr/apr-util_1.5.4.bb
+++ b/meta/recipes-support/apr/apr-util_1.5.4.bb
@@ -53,10 +53,10 @@ do_configure_prepend_class-nativesdk() {
}
do_configure_append_class-nativesdk() {
- sed -i "s#\(apr_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
- sed -i "s#\(apr_builders\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
- sed -i "s#\(top_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
- sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${S}/build/rules.mk
+ sed -i "s#\(apr_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk
+ sed -i "s#\(apr_builders\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk
+ sed -i "s#\(top_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk
+ sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${B}/build/rules.mk
}
do_install_append_class-target() {