grub: don't autoreconf twice

do_configure() essentially calls autogen.sh to generate some sources and then
autoreconf, but autogen.sh also calls autoreconf.

Pass a magic variable so that autogen.sh doesn't autoreconf for us.

(From OE-Core rev: 19e18446c09fef14c3dd54b0de12a8d21b280c93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2019-11-19 22:22:47 +00:00
committed by Richard Purdie
parent bc2925b2d3
commit 6d5e13f65f

View File

@@ -60,8 +60,9 @@ BUILD_LDFLAGS = ""
export PYTHON = "python3"
do_configure_prepend() {
( cd ${S}
${S}/autogen.sh )
cd ${S}
FROM_BOOTSTRAP=1 ${S}/autogen.sh
cd ${B}
}
RDEPENDS_${PN}_class-native = ""