]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
autotools: require that a configure script exists
authorRoss Burton <ross.burton@arm.com>
Mon, 17 Mar 2025 13:27:49 +0000 (13:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2025 11:24:39 +0000 (11:24 +0000)
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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/autotools.bbclass

index bffd8a7a057d213cb9583efcea59ee89e0518b42..948f8c183a7b4175984959d84e0755671452031b 100644 (file)
@@ -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() {