]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub: don't autoreconf twice
authorRoss Burton <ross.burton@intel.com>
Tue, 19 Nov 2019 22:22:47 +0000 (22:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Nov 2019 17:56:34 +0000 (17:56 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/grub/grub2.inc

index 7138e4df87208622f2001ff7f810a17a6e2692c4..b3291cb4b804ce31ed8d6dc7cfa234dfa136da49 100644 (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 = ""