diff mbox series

[5/5] grub: don't autoreconf twice

Message ID 20191120183813.9390-5-ross.burton@intel.com
State Accepted
Commit 19e18446c09fef14c3dd54b0de12a8d21b280c93
Headers show
Series [1/5] packagegroup-core-sdk: remove intltool | expand

Commit Message

Ross Burton Nov. 20, 2019, 6:38 p.m. UTC
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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 7138e4df872..b3291cb4b80 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -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 = ""