[yocto] [PATCH][meta-intel] grub: remove the dependency on freetype, disable grub-mkfont

Saul Wold sgw at linux.intel.com
Thu Sep 1 10:19:49 PDT 2011


Seeing this change reminded me that we really should move grub_1.98 to 
oe-core, is there any objection to this?  Any reason this should not be 
part of oe-core to support general x86_64 machines?

Sau!


On 08/31/2011 07:34 PM, Darren Hart wrote:
> Grub's configure task was picking up the host freetype libraries if
> bitbake hadn't gotten around building freetype yet. We could add a
> dependency on freetype, but it's only used for the optional grub-mkfont
> utility which we don't really need.
>
> Disable grub-mkfont via EXTRA_OECONF, removing the dependency on freetype.
>
> Testing: core-image-minimal build and install on sugarbay.
>
> Signed-off-by: Darren Hart<dvhart at linux.intel.com>
> Tested-by: Tom Zanussi<tom.zanussi at intel.com>
> ---
>   common/recipes-bsp/grub/grub_1.98.bb |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/common/recipes-bsp/grub/grub_1.98.bb b/common/recipes-bsp/grub/grub_1.98.bb
> index 0cd3a40..802733f 100644
> --- a/common/recipes-bsp/grub/grub_1.98.bb
> +++ b/common/recipes-bsp/grub/grub_1.98.bb
> @@ -24,7 +24,7 @@ SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz \
>   inherit autotools
>   inherit gettext
>
> -EXTRA_OECONF = "--with-platform=pc --target=i386"
> +EXTRA_OECONF = "--with-platform=pc --target=i386 --disable-grub-mkfont"
>
>   do_configure() {
>       oe_runconf



More information about the yocto mailing list