diff options
author | mingli.yu@windriver.com <mingli.yu@windriver.com> | 2016-08-02 14:38:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-04 15:05:47 +0100 |
commit | 949df030cf39e7f551302e1e6f86b0a270cd2181 (patch) | |
tree | 3978acad1a79abd14e8d840e8665c33e8c96d97b /meta/recipes-bsp/grub/grub2.inc | |
parent | 5705b7a55bc300e14c34b0530f4d49df101edd3c (diff) | |
download | openembedded-core-contrib-949df030cf39e7f551302e1e6f86b0a270cd2181.tar.gz |
grub2.inc: run autogen.sh before configure
* When adding new source files from upstream the autogen.sh
script needs to be run
* Rework grub2-remove-sparc64-setup-from-x86-builds.patch
to remove the grub-setup helper program grub-sparc64-setup
in Makefile.util.def instead of the previous Makefile.util.am
to avoid the update for Makefile.util.am in do_patch phase is
overwritten by the autogen.sh in do_configure phase
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
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 | 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 \ file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ " -DEPENDS = "flex-native bison-native" +DEPENDS = "flex-native bison-native autogen-native" SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" @@ -60,6 +60,8 @@ do_configure_prepend() { # for its own purposes. Remove the OE versions from the environment to # avoid conflicts. unset TARGET_CPPFLAGS TARGET_CFLAGS TARGET_CXXFLAGS TARGET_LDFLAGS + ( cd ${S} + ${S}/autogen.sh ) } # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are |