diff options
author | Ross Burton <ross.burton@intel.com> | 2019-11-19 22:22:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 17:56:34 +0000 |
commit | 19e18446c09fef14c3dd54b0de12a8d21b280c93 (patch) | |
tree | 117458ad02506c215b63c7c64efd28403846a1aa /meta/recipes-bsp/grub/grub2.inc | |
parent | 6cdf9a0712b136a1002e8a814274e23ee7a5f06d (diff) | |
download | openembedded-core-contrib-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/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 5 |
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 = "" |