Patchwork js: Fix missing aclocal files for configure

mail settings
Submitter Richard Purdie
Date March 6, 2014, 10:58 a.m.
Message ID <1394103505.8531.18.camel@ted>
Download mbox | patch
Permalink /patch/68099/
State New
Headers show


Richard Purdie - March 6, 2014, 10:58 a.m.
The aclocal copy is done as a prefunc so we need to ensure
is available before those functions run. The easiest way is inserting
an extra task.

Signed-off-by: Richard Purdie <>


diff --git a/meta/recipes-support/js/ b/meta/recipes-support/js/
index e320504..e466354 100644
--- a/meta/recipes-support/js/
+++ b/meta/recipes-support/js/
@@ -23,10 +23,11 @@  S = "${WORKDIR}/js/src"
 # don't bother with automake
 inherit autotools-brokensep
-do_configure_prepend() {
+do_extraunpack() {
 	cp -f ${WORKDIR}/ ${S}
 	cp -f ${WORKDIR}/jsautocfg.h ${S}
+addtask extraunpack before do_configure after do_unpack
 EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs' \