diff options
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 0b169bfbea..d77a0d4fd9 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -33,7 +33,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | |||
33 | file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ | 33 | file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ |
34 | " | 34 | " |
35 | 35 | ||
36 | DEPENDS = "flex-native bison-native" | 36 | DEPENDS = "flex-native bison-native autogen-native" |
37 | 37 | ||
38 | SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" | 38 | SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" |
39 | SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" | 39 | SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" |
@@ -60,6 +60,8 @@ do_configure_prepend() { | |||
60 | # for its own purposes. Remove the OE versions from the environment to | 60 | # for its own purposes. Remove the OE versions from the environment to |
61 | # avoid conflicts. | 61 | # avoid conflicts. |
62 | unset TARGET_CPPFLAGS TARGET_CFLAGS TARGET_CXXFLAGS TARGET_LDFLAGS | 62 | unset TARGET_CPPFLAGS TARGET_CFLAGS TARGET_CXXFLAGS TARGET_LDFLAGS |
63 | ( cd ${S} | ||
64 | ${S}/autogen.sh ) | ||
63 | } | 65 | } |
64 | 66 | ||
65 | # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are | 67 | # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are |