Patchwork pulseaudio: remove spurious cd in do_compile_prepend

login
register
mail settings
Submitter Ross Burton
Date April 11, 2013, 11:14 a.m.
Message ID <1365678883-32138-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/47923/
State Accepted
Commit ae353c229cfe7e82588dc53fbed10c6ba8370d26
Headers show

Comments

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

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
 }