[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:29 UTC 2013


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

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