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:57:23 +0000 |
commit | 6d5e13f65f99f829778591e4f38703ad2665bc4f (patch) | |
tree | b687dc4091bfd338ed092fc960d14b44e9105a8d /meta/recipes-bsp/grub | |
parent | bc2925b2d308cf91373d69b57f8f5937d002c9c5 (diff) | |
download | poky-6d5e13f65f99f829778591e4f38703ad2665bc4f.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.
(From OE-Core rev: 19e18446c09fef14c3dd54b0de12a8d21b280c93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-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 = "" | |||
60 | export PYTHON = "python3" | 60 | export PYTHON = "python3" |
61 | 61 | ||
62 | do_configure_prepend() { | 62 | do_configure_prepend() { |
63 | ( cd ${S} | 63 | cd ${S} |
64 | ${S}/autogen.sh ) | 64 | FROM_BOOTSTRAP=1 ${S}/autogen.sh |
65 | cd ${B} | ||
65 | } | 66 | } |
66 | 67 | ||
67 | RDEPENDS_${PN}_class-native = "" | 68 | RDEPENDS_${PN}_class-native = "" |