From: Ross Burton Date: Mon, 17 Mar 2025 13:27:49 +0000 (+0000) Subject: autotools: require that a configure script exists X-Git-Tag: yocto-5.2~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d327a39befae44a88a812bdf4acde800dcee57b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git autotools: require that a configure script exists There's no point inheriting autotools if you're not actually going to run a configure script, so make a missing configure script fatal. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index bffd8a7a057..948f8c183a7 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass @@ -206,11 +206,8 @@ autotools_do_configure() { ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} || die "autoreconf execution failed." cd $olddir fi - if [ -e ${CONFIGURE_SCRIPT} ]; then - oe_runconf - else - bbnote "nothing to configure" - fi + + oe_runconf } autotools_do_compile() {