From 00ec8bc10df539ecedc3beb2dde28a8e4665cad8 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 8 May 2016 15:08:12 -0400 Subject: autotools-bootstrap: make bootstrap package specific. The theory behind this bbclass was reasonable, with the primary goal being to avoid multiple downloads of gnulib, but it neglected the fact that packages would be shipping a specific version of the ./bootstrap which will support some flags but maybe not all the latest ones from the latest gnulib/build-aux/bootstrap file. I attempted to simply update the two pkgs to use the latest copy of bootstrap from gnulib but this of course triggers the descent into autoconf hell that we all know and love. Rather than futzing with the packages configure.ac and deviating from what the pkg maintainers intended and tested, we can just let the packages have independent calls to ./bootstrap with whatever flags are needed. The goal of this commit is to move the prepend out to the packages and then delete the class without any real functional change ; i.e. a purely mechanical change. Then we can adjust each package to ensure it will still build with a modern host, in an independent fashion, while keeping the main advantage of not fetching gnulib two extra times for netcf and fontforge. Signed-off-by: Paul Gortmaker Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-oe/classes/autotools-bootstrap.bbclass | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 meta-oe/classes/autotools-bootstrap.bbclass (limited to 'meta-oe/classes/autotools-bootstrap.bbclass') diff --git a/meta-oe/classes/autotools-bootstrap.bbclass b/meta-oe/classes/autotools-bootstrap.bbclass deleted file mode 100644 index 8d7af1b472..0000000000 --- a/meta-oe/classes/autotools-bootstrap.bbclass +++ /dev/null @@ -1,24 +0,0 @@ -# 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 <