[oe-commits] Richard Purdie : lttng-ust: Fix case where ${B} != ${S}

git at git.openembedded.org git at git.openembedded.org
Mon Mar 18 13:17:06 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 970be6b43acd16dac1400ce322dcd2cb6272fd63
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=970be6b43acd16dac1400ce322dcd2cb6272fd63

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 18 02:05:04 2013 +0000

lttng-ust: Fix case where ${B} != ${S}

Fix out of tree builds by ensuring bootstrap is executed in ${S}.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb b/meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb
index 2117981..8f8bbc7 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.1.1.bb
@@ -29,7 +29,7 @@ SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git \
 S = "${WORKDIR}/git"
 
 do_configure_prepend () {
-	${S}/bootstrap
+	( cd ${S}; ${S}/bootstrap )
 }
 
 # Due to liburcu not building for MIPS currently this recipe needs to





More information about the Openembedded-commits mailing list