瀏覽代碼

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>
Ross Burton 2 月之前
父節點
當前提交
0c7190686c
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      meta/classes-recipe/autotools.bbclass

+ 2 - 5
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() {