pulseaudio: remove spurious cd in do_compile_prepend

Submitted by Ross Burton on April 11, 2013, 11:14 a.m. | Patch ID: 47923


Message ID 1365678883-32138-1-git-send-email-ross.burton@intel.com
State Accepted
Commit ac3a8ce0b672d1488c9074bde1a1d062e0c5fd33
Headers show

Commit Message

Ross Burton April 11, 2013, 11:14 a.m.
This prepend was cding to ${S}, which then breaks base_do_compile as it assumes
it's in ${B}.  The cd is pointless as all of the operations use absolute paths,
so remove it.

The result of this was that base_do_compile was failing to find the makefiles,
so the compilation happened in do_install.

Signed-off-by: Ross Burton <ross.burton@intel.com>
 meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb |    1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb
index 71c3c05..3621452 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb
@@ -13,7 +13,6 @@  SRC_URI[md5sum] = "47fd7eca8479c757822bee68a1feef25"
 SRC_URI[sha256sum] = "c90bfda29605942d08e3e218ef10e3c660506a06651a616bfbb6a6df8392836d"
 do_compile_prepend() {
-    cd ${S}
     mkdir -p ${S}/libltdl
     cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl