From 6d327a39befae44a88a812bdf4acde800dcee57b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 17 Mar 2025 13:27:49 +0000 Subject: [PATCH] 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 --- meta/classes-recipe/autotools.bbclass | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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() { -- 2.47.3