From f3e73003d0bd244553a3c528e7f6035a23a93b78 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Fri, 30 Oct 2015 12:30:00 +0100 Subject: autotools-bootstrap.bbclass: initial add MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bootstrap is another magic script which is intended run before autotools. The class created runs this script at the right time and ensures that sources of gnulib are not cloned during configure. Signed-off-by: Andreas Müller --- meta-oe/classes/autotools-bootstrap.bbclass | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-oe/classes/autotools-bootstrap.bbclass (limited to 'meta-oe/classes') diff --git a/meta-oe/classes/autotools-bootstrap.bbclass b/meta-oe/classes/autotools-bootstrap.bbclass new file mode 100644 index 0000000000..8d7af1b472 --- /dev/null +++ b/meta-oe/classes/autotools-bootstrap.bbclass @@ -0,0 +1,24 @@ +# Class to inherit when you want to build with autotools after running bootstrap +inherit autotools + +DEPENDS += "gnulib" + +do_configure_prepend() { + currdir=`pwd` + cd ${S} + + # avoid bootstrap cloning gnulib on every configure + cat >.gitmodules <