Skip to contentSkip to conversation

pulseaudio: remove spurious cd in do_compile_prepend

PATCH New Ross Burton 1 participant 1 message Apr 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pulseaudio: remove spurious cd in do_compile_prepend

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.

---
 meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb |    1 -
 1 file changed, 1 deletion(-)
meta/recipes-multimedia/pulseaudio/pulseaudio_3.0.bb +0 -1
index 71c3c05..3621452 100644
@@ -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
 }
Signature · 1 line
1.7.10.4