[oe-commits] [openembedded-core] 05/12: grub: don't autoreconf twice

git at git.openembedded.org git at git.openembedded.org
Fri Nov 22 23:30:32 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 77a0cce7d65d040ace7f1e6cfaeb3f346b329f2d
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Nov 20 18:38:13 2019 +0000

    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.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-bsp/grub/grub2.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 7138e4d..b3291cb 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 = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list