From 6d5e13f65f99f829778591e4f38703ad2665bc4f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Nov 2019 22:22:47 +0000 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-bsp/grub/grub2.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 7138e4df87..b3291cb4b8 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 = "" -- cgit v1.2.3-54-g00ecf