[OE-core] grub: Allow reautoconf with the correct parameters

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jul 23 11:28:54 UTC 2012


Without this change, an effective reautoconf happens at compile time with potentially
incorrect parameters. This change ensures it happens once, in do_configure with the
correct parameters.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/meta/recipes-bsp/grub/grub_1.99.bb b/meta/recipes-bsp/grub/grub_1.99.bb
index f1ed7ca..9879651 100644
--- a/meta/recipes-bsp/grub/grub_1.99.bb
+++ b/meta/recipes-bsp/grub/grub_1.99.bb
@@ -37,10 +37,6 @@ inherit gettext
 
 EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="""
 
-do_configure() {
-    oe_runconf
-}
-
 do_install_append () {
     install -d ${D}${sysconfdir}/grub.d
     install -m 0755 ${WORKDIR}/40_custom ${D}${sysconfdir}/grub.d/40_custom






More information about the Openembedded-core mailing list