summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-11-19 22:22:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-25 17:56:34 +0000
commit19e18446c09fef14c3dd54b0de12a8d21b280c93 (patch)
tree117458ad02506c215b63c7c64efd28403846a1aa /meta/recipes-bsp/grub
parent6cdf9a0712b136a1002e8a814274e23ee7a5f06d (diff)
downloadopenembedded-core-19e18446c09fef14c3dd54b0de12a8d21b280c93.tar.gz
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@intel.com>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc5
1 files changed, 3 insertions, 2 deletions
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 = ""