Message ID | 20250317132749.1778185-3-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/3] mdadm: don't inherit autotools | expand |
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() {
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> --- meta/classes-recipe/autotools.bbclass | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)