[OE-core] [PATCH v2] swig: Fix configure failure

Burton, Ross ross.burton at intel.com
Fri Jan 4 00:02:26 UTC 2019


On Thu, 3 Jan 2019 at 23:18, Alistair Francis <Alistair.Francis at wdc.com> wrote:
> Fix the swig build by calling autogen.sh before running configure.

But...

> @@ -45,6 +45,7 @@ do_configure() {
>      install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
>      install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
>      install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
> +    (cd ${S} && ./autogen.sh)
>      oe_runconf

Now this is literally just reimplementing the default do_configure
from autotools.  The first three lines are gnuconfigize, autogen.sh is
generally just autoreconf in modern systems, and then oe_runconf.

If do_configure is just deleted, what breaks?

Ross


More information about the Openembedded-core mailing list