summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-03-17 13:27:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-18 11:25:36 +0000
commit0c7190686c59dff55819781ae8604606b2c497ef (patch)
treefe750dac8e21cc3fc12c7a7f75086366afc562e4 /meta
parentd599ce3d6373a33f795dd50d4ed988f45966bcdc (diff)
downloadpoky-0c7190686c59dff55819781ae8604606b2c497ef.tar.gz
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. (From OE-Core rev: 6d327a39befae44a88a812bdf4acde800dcee57b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/autotools.bbclass7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass
index bffd8a7a05..948f8c183a 100644
--- a/meta/classes-recipe/autotools.bbclass
+++ b/meta/classes-recipe/autotools.bbclass
@@ -206,11 +206,8 @@ autotools_do_configure() {
206 ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} || die "autoreconf execution failed." 206 ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} || die "autoreconf execution failed."
207 cd $olddir 207 cd $olddir
208 fi 208 fi
209 if [ -e ${CONFIGURE_SCRIPT} ]; then 209
210 oe_runconf 210 oe_runconf
211 else
212 bbnote "nothing to configure"
213 fi
214} 211}
215 212
216autotools_do_compile() { 213autotools_do_compile() {