* [PATCH] js: Fix missing aclocal files for configure
@ 2014-03-06 10:58 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-03-06 10:58 UTC (permalink / raw)
To: openembedded-core
The aclocal copy is done as a prefunc so we need to ensure configure.ac
is available before those functions run. The easiest way is inserting
an extra task.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
index e320504..e466354 100644
--- a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
+++ b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
@@ -23,10 +23,11 @@ S = "${WORKDIR}/js/src"
# don't bother with automake
inherit autotools-brokensep
-do_configure_prepend() {
+do_extraunpack() {
cp -f ${WORKDIR}/configure.ac ${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' \
'BUILD_CC=${BUILD_CC}' 'BUILD_CFLAGS=${BUILD_CFLAGS}' 'BUILD_LDFLAGS=${BUILD_LDFLAGS}'"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-06 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 10:58 [PATCH] js: Fix missing aclocal files for configure Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.